This commit is contained in:
jamesagnew 2020-06-03 15:16:20 -04:00
parent 33753881e2
commit d2f018919c
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,12 @@ public class CommonCodeSystemsTerminologyServiceTest {
assertEquals(true, outcome.isFound()); assertEquals(true, outcome.isFound());
} }
@Test
public void testUcum_LookupCode_Good2() {
IValidationSupport.LookupCodeResult outcome = mySvc.lookupCode(new ValidationSupportContext(myCtx.getValidationSupport()), "http://unitsofmeasure.org", "kg/m2");
assertEquals(true, outcome.isFound());
}
@Test @Test
public void testUcum_LookupCode_Bad() { public void testUcum_LookupCode_Bad() {
IValidationSupport.LookupCodeResult outcome = mySvc.lookupCode(new ValidationSupportContext(myCtx.getValidationSupport()), "http://unitsofmeasure.org", "AAAAA"); IValidationSupport.LookupCodeResult outcome = mySvc.lookupCode(new ValidationSupportContext(myCtx.getValidationSupport()), "http://unitsofmeasure.org", "AAAAA");