Still working on unit tests

This commit is contained in:
James Agnew 2014-09-16 17:21:04 -04:00
parent 774e38eacc
commit 83f9c1c6a9
1 changed files with 1 additions and 1 deletions

View File

@ -1305,7 +1305,7 @@ public class ResfulServerMethodTest {
public Patient vread(@IdParam IdDt theId) {
Patient retVal = getIdToPatient().get(theId.getIdPart());
if (retVal == null) {
throw new InternalErrorException("Couldn't find ID " + theId.getIdPart() + " - Valid IDs are: " + getIdToPatient().keySet());
throw new ResourceNotFoundException("Couldn't find ID " + theId.getIdPart() + " - Valid IDs are: " + getIdToPatient().keySet());
}
List<HumanNameDt> name = retVal.getName();