public void GetsDeltasAfterTick(int simulationAge, int tick) { _simulationView.Simulation = new Simulation { Ticks = simulationAge }; _deltaApplier.GetForTick(new ObjectId(), tick); _deltaRepository .Verify(x => x.GetForSimulation(It.IsAny <ObjectId>(), tick, simulationAge), Times.Once); }
public SimulationView GetAtTick(ObjectId simulationId, int tick) => _deltaApplier.GetForTick(simulationId, tick);