@Test
public void testSetRangeUpperBoundary() throws Exception {

    plot.addSeries(series0To100, new LineAndPointFormatter());
    plot.setRangeUpperBoundary(350, BoundaryMode.FIXED);
    plot.calculateMinMaxVals();
    assertEquals(350, plot.getBounds().getMaxY().intValue());
}