*/
@Test
public void testForConvention() {
final AbstractCRS toTest, expected, actual;
toTest = new AbstractCRS(singletonMap(NAME_KEY, "My CRS"),
new AbstractCS (singletonMap(NAME_KEY, "My strange CS"),
HardCodedAxes.TIME, HardCodedAxes.ALTITUDE, HardCodedAxes.GEODETIC_LATITUDE, HardCodedAxes.GEODETIC_LONGITUDE));
expected = new AbstractCRS(singletonMap(NAME_KEY, "My CRS"),
new AbstractCS (singletonMap(NAME_KEY, "Coordinate system: East (deg), North (deg), Up (m), Future (d)."),
HardCodedAxes.GEODETIC_LONGITUDE, HardCodedAxes.GEODETIC_LATITUDE, HardCodedAxes.ALTITUDE, HardCodedAxes.TIME));
actual = toTest.forConvention(AxesConvention.RIGHT_HANDED);
assertEquals("forConvention(RIGHT_HANDED)", expected, actual);
assertSame(actual, toTest .forConvention(AxesConvention.RIGHT_HANDED));