/** Tests the {@code indexOf} and {code name} methods. */
 @Test
 public void testName() {
   final Citation citation = Citations.EPSG;
   final PropertyAccessor accessor = createPropertyAccessor(citation);
   assertEquals("Non-existent property", -1, accessor.indexOf("dummy"));
   assertEquals("getTitle() property", "title", accessor.name(accessor.indexOf("title")));
   assertEquals("getTitle() property", "title", accessor.name(accessor.indexOf("TITLE")));
   assertEquals("getISBN() property", "ISBN", accessor.name(accessor.indexOf("ISBN")));
   assertNull(accessor.name(-1));
 }