Skip to content

Instantly share code, notes, and snippets.

@rooZzz
Created July 9, 2016 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rooZzz/f7026dcf4da7f3456554881f23161072 to your computer and use it in GitHub Desktop.
Save rooZzz/f7026dcf4da7f3456554881f23161072 to your computer and use it in GitHub Desktop.
@Test
public void whenDecrementTwice_thenCounterIsMinusTwo() {
final int expected = -2;
final int actual = sut.decrement().decrement().getCounter();
assertEquals(expected, actual);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment