### Question:
SeriesYNumberRecalculator implements SeriesYRecalculator { @Override public boolean handles(YValueType yValueType) { Preconditions.checkNotNull(yValueType); return yValueType.getClass().equals(NumberYValue.class); }  @Override Series<Object, ? extends Number> recalculateSeries(Series<Object, Integer> series, JudgmentSeriesCriteria criteria, XSettings xsettings, YSettings ysettings); @Override boolean handles(YValueType yValueType);  }### Answer:
@Test public void handles_AbsoluteNumberYValue() { assertTrue(recalculator.handles(new NumberYValue())); }
@Test public void handles_OtherValueType() { assertFalse(recalculator.handles(new RateYValue(1))); }