InterMineLUI { public String getIdentifier() { return identifier; } 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 getIdentifier() { InterMineLUI lui = new InterMineLUI("Protein", "P31946"); assertEquals("P31946", lui.getIdentifier()); }
@Test public void getIdentifierFromAccessURL() { try { InterMineLUI lui = new InterMineLUI("humanmine/protein:P31946"); assertEquals("P31946", lui.getIdentifier()); } catch (InvalidPermanentURLException ex) { } }