-
-
Save daveneedstoknow/2644c979998dadb51723f90c2014a79a 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 shouldBuildGame() { | |
WheelObserver wheelObserver = mock(WheelObserver.class); | |
RouletteWheel rouletteWheel = new RouletteWheel(wheelObserver); | |
TickProvider tickProvider = new TickProvider(rouletteWheel); | |
rouletteWheel.spin(1000); | |
verify(wheelObserver, timeout(3000).times(1)).stopped(anyInt()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment