Merge "Reorder modifiers"
[so.git] / bpmn / MSOInfrastructureBPMN / src / test / java / org / openecomp / mso / bpmn / infrastructure / pnf / delegate / bpmn / CreateAndActivatePnfResourceTest.java
index 88e7d2f..ada5a90 100644 (file)
@@ -75,7 +75,8 @@ public class CreateAndActivatePnfResourceTest {
                 "CreateAndActivatePnf_StartEvent",
                 "CheckAiiForCorrelationId",
                 "DoesAaiContainInfoAboutPnf",
-                "DoesAaiContainInfoAboutIp"
+                "DoesAaiContainInfoAboutIp",
+                "AaiEntryAlreadyUpToDate"
         );
     }
 
@@ -102,7 +103,9 @@ public class CreateAndActivatePnfResourceTest {
                 "DoesAaiContainInfoAboutPnf",
                 "DoesAaiContainInfoAboutIp",
                 "AaiEntryExists",
-                "WaitForDmaapPnfReadyNotification"
+                "InformDmaapClient",
+                "WaitForDmaapPnfReadyNotification",
+                "AaiEntryUpdated"
         );
     }
 
@@ -129,9 +132,11 @@ public class CreateAndActivatePnfResourceTest {
                 "DoesAaiContainInfoAboutPnf",
                 "CreateAndActivatePnf_CreateAaiEntry",
                 "AaiEntryExists",
-                "WaitForDmaapPnfReadyNotification"
+                "InformDmaapClient",
+                "WaitForDmaapPnfReadyNotification",
+                "AaiEntryUpdated"
         );
-        assertThat(aaiConnection.getCreated()).containsExactly(ID_WITHOUT_ENTRY);
+        assertThat(aaiConnection.getCreated()).containsOnlyKeys(ID_WITHOUT_ENTRY);
     }
 
     private List<HistoricVariableInstance> getVariables(ProcessInstance instance) {