### Question:
FizzBuzzAlgorithm extends AlgorithmLevelImpl { @Override public String get(int i) { String result = ""; if (i % 3 == 0) { result += "Fizz"; } if (i % 5 == 0) { result += "Buzz"; } if (result.length() == 0) { result = String.valueOf(i); } return result; }  @Override String get(int i); @Override String description(); @Override int complexity(); @Override String author();  }### Answer:
@Test public void shouldWork() { FizzBuzzAlgorithm algorithm = new FizzBuzzAlgorithm(); assertEquals("1", algorithm.get("1")); assertEquals("2", algorithm.get("2")); assertEquals("Fizz", algorithm.get("3")); assertEquals("4", algorithm.get("4")); assertEquals("Buzz", algorithm.get("5")); assertEquals("Fizz", algorithm.get("6")); assertEquals("7", algorithm.get("7")); assertEquals("8", algorithm.get("8")); assertEquals("Fizz", algorithm.get("9")); assertEquals("Buzz", algorithm.get("10")); assertEquals("11", algorithm.get("11")); assertEquals("Fizz", algorithm.get("12")); assertEquals("13", algorithm.get("13")); assertEquals("14", algorithm.get("14")); assertEquals("FizzBuzz", algorithm.get("15")); assertEquals("16", algorithm.get("16")); assertEquals("17", algorithm.get("17")); assertEquals("Fizz", algorithm.get("18")); assertEquals("19", algorithm.get("19")); assertEquals("Buzz", algorithm.get("20")); assertEquals("Fizz", algorithm.get("21")); assertEquals("22", algorithm.get("22")); assertEquals("23", algorithm.get("23")); assertEquals("Fizz", algorithm.get("24")); assertEquals("Buzz", algorithm.get("25")); assertEquals("26", algorithm.get("26")); }