package remonsinnema.blog.fizzbuzz;

import static org.junit.Assert.assertEquals;

import org.junit.Test;


public class WhenFunctionallyFuzzingAndBuzzing {

  private final FizzBuzzer fizzBuzzer = new FizzBuzzer();

  @Test
  public void shouldReplaceMultiplesOfThreeWithFizzAndMultiplesOfFiveWithBuzz() {
    assertEquals("1", "1", fizzBuzzer.apply(1));
  }

}

@@ -314,23 +314,141 @@
 sert
-Equals(%221%22, %221%22
+FizzBuzz(%221%22, 1);%0A  %7D%0A%0A  private void assertFizzBuzz(String expected, int value) %7B%0A    assertEquals(Integer.toString(value), expected
 , fi
@@ -462,17 +462,21 @@
 r.apply(
-1
+value
 ));%0A  %7D%0A

Refactor test