mirror of
https://github.com/hapifhir/hapi-fhir.git
synced 2025-02-17 02:15:22 +00:00
Begin with a broken test
This commit is contained in:
parent
5d9d4070fb
commit
87d14f26fe
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user