@Test
public void testNavigating() {
final DefaultNameFactory factory = new DefaultNameFactory();
final GenericName name = factory.parseGenericName(null, "codespace:subspace:name");
assertEquals("codespace:subspace:name", name.toString());
assertEquals("codespace:subspace", name.tip().scope().name().toString());
assertEquals("codespace", name.tip().scope().name().tip().scope().name().toString());
assertSame(name, name.toFullyQualifiedName());
assertSame(name, name.tip().toFullyQualifiedName());
}
}