"authority", "This is an authority", identifier.getAuthority().getTitle().toString()); assertEquals("version", "This is a version", identifier.getVersion()); assertEquals( "authority", "An other authority", identifier.getAuthority().getTitle().toString(Locale.ENGLISH));