MetadataValue implements ReloadableEntity<Integer> { public Integer getID() { return id; } protected  MetadataValue(); Integer getID(); DSpaceObject getDSpaceObject(); void setDSpaceObject(DSpaceObject dso); String getLanguage(); void setLanguage(String language); int getPlace(); void setPlace(int place); MetadataField getMetadataField(); void setMetadataField(MetadataField metadataField); String getValue(); void setValue(String value); String getAuthority(); void setAuthority(String value); int getConfidence(); void setConfidence(int value); @Override boolean equals(Object obj); @Override int hashCode();  }
@Test public void testGetValueId() { assertThat("testGetValueId 0",mv.getID(), notNullValue()); }
@Test public void testFind() throws Exception { metadataValueService.create(context, it, mf); int id = mv.getID(); MetadataValue found = metadataValueService.find(context, id); assertThat("testFind 0",found, notNullValue()); assertThat("testFind 1",found.getID(), equalTo(id)); }