### Question:
AxisRanges { public static AxisRange fixed(final double min, final double max) { final Range fixedRange = Ranges.range(min, max); return new Fixed(fixedRange); } 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 fixed1() { AxisRange axisRange = AxisRanges.fixed(0.0, 10.0); assertThat(axisRange.toString(), equalTo("fixed(0.0, 10.0)")); 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) 0.0)); assertThat(range.getMaximum(), equalTo((Number) 10.0)); }
@Test(expected=IllegalArgumentException.class) public void fixed2() { AxisRange axisRange = AxisRanges.fixed(10.0, 0.0); }
@Test public void fixedEquals() { assertThat(AxisRanges.fixed(0, 1), equalTo(AxisRanges.fixed(0, 1))); assertThat(AxisRanges.fixed(0, 1), not(equalTo(AxisRanges.fixed(0, 5)))); }