### Question:
PointValueFormatterManager { public String format(Object value) { if (value == null) { return null; } return getFormatter(value.getClass()).format(value); }  PointValueFormatter getFormatter(Class<?> valueClass); String format(Object value); void setPointValueFormatters(List<PointValueFormatter> pointValueFormatters);  }### Answer:
@Test public void format_Null() { assertNull(pointValueFormatterManager.format(null)); }
@Test public void format() { when(pointValueFormatter3.format("ABC")).thenReturn("abc"); String formattedValue = pointValueFormatterManager.format("ABC"); assertEquals("abc", formattedValue); verify(pointValueFormatter3).handles(String.class); verify(pointValueFormatter2).handles(String.class); verify(pointValueFormatter2, Mockito.never()).format(Mockito.any()); verify(pointValueFormatter1, Mockito.never()).handles(Mockito.any()); verify(pointValueFormatter1, Mockito.never()).format(Mockito.any()); }