@Test public void testPlotBandsWarning0() throws Exception { InterfaceLimit limit = new InterfaceLimit(); limit.setWarning(0); limit.setCritical(50); ChartManager.setPlotBand(chart, limit); assertPlots(yAxis.getPlotBands(), 0, 0, 50, Integer.MAX_VALUE); }
@Test public void testPlotBandsNull() throws Exception { ChartManager.setPlotBand(chart, null); assertPlots(yAxis.getPlotBands(), 0); }