Begin with a broken test

This commit is contained in:
Tadgh 2020-08-05 16:20:41 -07:00
parent 5d9d4070fb
commit 87d14f26fe
1 changed files with 13 additions and 0 deletions

View File

@ -102,6 +102,19 @@ public class EmpiStorageInterceptorIT extends BaseEmpiR4Test {
}
}
@Test
public void testCreatingPersonWithInsufficentEMPIAttributesIsNotEMPIProcessed() throws InterruptedException {
myEmpiHelper.createWithLatch(new Patient());
assertLinkCount(0);
}
@Test
public void testCreatingPatientWithOneOrMoreMatchingAttributesIsEMPIProcessed() throws InterruptedException {
myEmpiHelper.createWithLatch(buildPaulPatient());
assertLinkCount(1);
}
@Test
public void testCreateOrganizationWithEmpiTagForbidden() throws InterruptedException {
//Creating a organization with the EMPI-MANAGED tag should fail