コード例 #1
0
 public void CheckWin_NotEnoughCoinsInMachine_ThrowException()
 {
     //Arrange
     _machine = new SlotMachine(39);
     //Act
     _machine.Prepare();
     //Assert
     Assert.Throws <ArgumentException>(() => _machine.Play(1));
 }