public void SetUp() { p = new Player(); rng = new Mock<RandomNumberGenerator>(); timer = new TestTimer(); walletService = new Mock<WalletService>(); walletService.Setup(ws => ws.IsAvailable(It.IsAny<Player>(), It.IsAny<int>())).Returns(true); rt = new RouletteTable(10000, rng.Object, timer, walletService.Object); }
public void setUp() { p = new Player(); rng = new TestRandomNumberGenerator(); timer = new TestTimer(); rt = new RouletteTable(10000, rng, timer); }
public void setUp() { p = new Player(); rngMock = new Mock<RandomNumberGenerator>(); timer = new TestTimer(); rt = new RouletteTable(10000, rngMock.Object, timer); }