public void ShouldReturnPlayGameState() { var state = new GenerateMapState(gameManagerMock.Object); state.OnEntry(); Assert.IsTrue(state.OnDuring() is PlayGameState); Assert.IsFalse(state.MachineTerminated); }
public void ShouldGenerateMap() { var state = new GenerateMapState(gameManagerMock.Object); state.OnEntry(); state.OnDuring(); gameManagerMock.VerifySet(foo => foo.GridMap = mapMock.Object); }