MetadataValue implements ReloadableEntity<Integer> { public void setConfidence(int value) { this.confidence = value; } 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 testSetConfidence() { int value = 5; mv.setConfidence(value); assertThat("testSetConfidence 0",mv.getConfidence(), equalTo(value)); }