/**
* Tests the (longitude, latitude) axis order for EPSG:4326.
*/
public void testForcedAxisOrder() throws NoSuchAuthorityCodeException, FactoryException {
final CoordinateReferenceSystem crs = CRS.decode("EPSG:4326", true);
final CoordinateSystem cs = crs.getCoordinateSystem();
assertEquals(2, cs.getDimension());
CoordinateSystemAxis axis0 = cs.getAxis(0);
assertEquals("Long", axis0.getAbbreviation());
CoordinateSystemAxis axis1 = cs.getAxis(1);
assertEquals("Lat", axis1.getAbbreviation());
final CoordinateReferenceSystem standard = CRS.decode("EPSG:4326");
assertFalse("Should not be (long,lat) axis order.", CRS.equalsIgnoreMetadata(crs, standard));