### Question:
AxisRanges { public static AxisRange display() { return DISPLAY; } private  AxisRanges(); static AxisRange fixed(final double min, final double max); static AxisRange data(); static AxisRange auto(); static AxisRange auto(double minUsage); static AxisRange display();  }### Answer:
@Test public void display1() { AxisRange axisRange = AxisRanges.display(); assertThat(axisRange.toString(), equalTo("display")); AxisRangeInstance axisRangeInstance = axisRange.createInstance(); Range range = axisRangeInstance.axisRange(Ranges.range(3.0, 15.0), Ranges.range(-3.0, 4.0)); assertThat(range.getMinimum(), equalTo((Number) (-3.0))); assertThat(range.getMaximum(), equalTo((Number) 4.0)); }
@Test public void display2() { AxisRangeInstance axisRangeInstance = AxisRanges.display().createInstance(); Range range = axisRangeInstance.axisRange(Ranges.range(3.0, 15.0), Ranges.range(0.0, 0.0)); assertThat(range.getMinimum(), equalTo((Number) 3.0)); assertThat(range.getMaximum(), equalTo((Number) 15.0)); }
@Test public void displayEquals() { assertThat(AxisRanges.display(), equalTo(AxisRanges.display())); }