InterMineLUI { public String getClassName() { return className; } InterMineLUI(String className, String identifier);  InterMineLUI(String permanentURI); String getClassName(); void setClassName(String className); String getIdentifier(); void setIdentifier(String identifier); String toString();  }
@Test public void getClassName() { InterMineLUI lui = new InterMineLUI("Protein", "P31946"); assertEquals("Protein", lui.getClassName()); }
@Test public void getClassNameFromAccessURL() { try { InterMineLUI lui = new InterMineLUI("humanmine/Protein:P31946"); assertEquals("Protein", lui.getClassName()); } catch (InvalidPermanentURLException ex) { } }
@Test public void getClassNameCaseInsentitiveFromAccessURL() { try { InterMineLUI lui = new InterMineLUI("humanmine/protein:P31946"); assertEquals("Protein", lui.getClassName()); } catch (InvalidPermanentURLException ex) { } }