assertNull(scaling.getScaleByFactor());
assertNull(scaling.getScaleToSize());
assertNull(scaling.getScaleToExtent());
ScaleAxisByFactorType sa = scaling.getScaleAxesByFactor();
assertEquals(3, sa.getScaleAxis().size());
ScaleAxisType sa1 = sa.getScaleAxis().get(0);
assertEquals("http://www.opengis.net/def/axis/OGC/1/i", sa1.getAxis());
assertEquals(3.5, sa1.getScaleFactor(), 1e-9);
ScaleAxisType sa2 = sa.getScaleAxis().get(1);
assertEquals("http://www.opengis.net/def/axis/OGC/1/j", sa2.getAxis());
assertEquals(3.5, sa2.getScaleFactor(), 1e-9);
ScaleAxisType sa3 = sa.getScaleAxis().get(2);
assertEquals("http://www.opengis.net/def/axis/OGC/1/k", sa3.getAxis());
assertEquals(2.0, sa3.getScaleFactor(), 1e-9);
}