DAOBasedPropertyService extends AbstractShortnameResolver implements PropertyService { @Override public Property getProperty(String shortname) { return getProperty(getURIFromShortname(shortname)); }  AnnotationService getAnnotationService(); void setAnnotationService(AnnotationService annotationService); PropertyDAO getPropertyDAO(); void setPropertyDAO(PropertyDAO propertyDAO); AnnotationDAO getAnnotationDAO(); void setAnnotationDAO(AnnotationDAO annotationDAO); @Override Collection<Property> getProperties(); @Override Collection<Property> getProperties(int limit, int start); @Override Property getProperty(String shortname); @Override Property getProperty(URI uri); @Override Collection<Property> getMatchedTypedProperty(String type, String value); @Override Property getMatchedUntypedProperty(String value); @Override Collection<Property> getMatchedTypedProperties(String type); @Override Property saveProperty(Property property);  }
@Test public void testGetProperty() { service.getProperty(uri); verify(dao).read(uri); }