Beispiel #1
0
 public void TestCoinInLockedState()
 {
     t.state = Turnstile.LOCKED;
     t.Event(Turnstile.COIN);
     Assert.Equal(Turnstile.UNLOCKED, t.state);
     Assert.True(controllerSpoof.UnlockCalled);
 }