Skip to content

Commit

Permalink
Inline output and rename test
Browse files Browse the repository at this point in the history
  • Loading branch information
developerdavo committed Dec 22, 2017
1 parent 15d0dba commit 67e1c98
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/FizzBuzzTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@
public class FizzBuzzTest {

@Test
public void shouldProcessInput() {
public void shouldProcessNumber() {
FizzBuzz fizzBuzz = new FizzBuzz();

String output = fizzBuzz.processNumber(1);

assertThat(output, is("1"));
assertThat(fizzBuzz.processNumber(1), is("1"));
}

}

0 comments on commit 67e1c98

Please sign in to comment.