GeodeticDatum datum = factory.createGeodeticDatum(properties, ellipsoid, meridian);
assertTrue(datum.getAlias().isEmpty());
for (int i=0; i<3; i++) {
switch (i) {
case 0: factory = new DatumAliases(factory); break;
case 1: factory = ReferencingFactoryFinder.getDatumFactory(null); break;
case 2: ((DatumAliases) factory).freeUnused(); break;
default: throw new AssertionError(); // Should not occurs.
}
final String pass = "Pass #"+i;