-
-
Save daveneedstoknow/62b14b56c4f214b0a50bbeb6e59d1d26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void shouldNotifyStoppedAfterSpin() { | |
WheelObserver wheelObserver = mock(WheelObserver.class); | |
RouletteWheel wheel = new RouletteWheel(wheelObserver); | |
wheel.spin(); | |
verify(wheelObserver, times(1)).stopped(); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment