(&self)
| 574 | } |
| 575 | |
| 576 | fn make_ctx(&self) -> MemoryMigrationContext { |
| 577 | let mut ctx = MemoryMigrationContext::new(); |
| 578 | // Override migration_begin with our controlled value. |
| 579 | ctx.migration_begin = self.migration_begin; |
| 580 | ctx |
| 581 | } |
| 582 | } |
| 583 | |
| 584 | #[test] |