private static OrderedAxisAuthorityFactory getFactory(final Hints hints) {
CRSAuthorityFactory factory;
factory = ReferencingFactoryFinder.getCRSAuthorityFactory("EPSG", hints);
assertTrue(factory.getClass().toString(), factory instanceof LongitudeFirstFactory);
final LongitudeFirstFactory asLongitudeFirst = (LongitudeFirstFactory) factory;
final Map implementationHints = asLongitudeFirst.getImplementationHints();
factory = (CRSAuthorityFactory) implementationHints.get(Hints.CRS_AUTHORITY_FACTORY);
assertTrue(factory.getClass().toString(), factory instanceof OrderedAxisAuthorityFactory);
final OrderedAxisAuthorityFactory asOrdered = (OrderedAxisAuthorityFactory) factory;
assertFalse(asOrdered.isCodeMethodOverriden());