### Question:
PointValueFormatterManager { public PointValueFormatter getFormatter(Class<?> valueClass) { Preconditions.checkNotNull(valueClass); for (PointValueFormatter pointValueFormatter : pointValueFormatters) { if (pointValueFormatter.handles(valueClass)) { return pointValueFormatter; } } throw new IllegalArgumentException("No pointValueFormatter handling " + valueClass.getName() + " can be found"); }  PointValueFormatter getFormatter(Class<?> valueClass); String format(Object value); void setPointValueFormatters(List<PointValueFormatter> pointValueFormatters);  }### Answer:
@Test(expected = NullPointerException.class) public void getFormatter_Null() { pointValueFormatterManager.getFormatter(null); }
@Test(expected = IllegalArgumentException.class) public void getFormatter_NoFormattedFound() { pointValueFormatterManager.getFormatter(Double.class); }