diff --git a/code-coverage-jacoco/src/test/java/FizzBuzzTest.java b/code-coverage-jacoco/src/test/java/FizzBuzzTest.java index 9aa2dee..3332cf7 100644 --- a/code-coverage-jacoco/src/test/java/FizzBuzzTest.java +++ b/code-coverage-jacoco/src/test/java/FizzBuzzTest.java @@ -9,6 +9,16 @@ * @author Petri Kainulainen */ public class FizzBuzzTest { +private FizzBuzz fizzBuzz; + @Before + public void setUp() { + fizzBuzz = new FizzBuzz(); + } + + @Test + public void getFizzBuzzWord_NumberIsMultipleOfThree_ShouldReturnFizz() { + assertThat(fizzBuzz.getFizzBuzzWord(3), is("Fizz")); + } }