/** * @see FormService#getFieldAnswerByUuid(String) */ @Test public void getFieldAnswerByUuid_shouldReturnNullIfNoObjectFoundWithGivenUuid() { Assert.assertNull(Context.getFormService().getFieldAnswerByUuid("some invalid uuid")); }
/** * @see org.openmrs.module.webservices.rest.web.resource.impl.BaseDelegatingResource#getByUniqueId(java.lang.String) */ @Override public FieldAnswer getByUniqueId(String uniqueId) { return Context.getFormService().getFieldAnswerByUuid(uniqueId); }