Validate request content of various actors
[policy/models.git] / models-interactions / model-actors / actor.test / src / test / java / org / onap / policy / controlloop / actor / test / BasicHttpOperationTest.java
index 096b8b8..c463d6d 100644 (file)
@@ -71,25 +71,6 @@ public class BasicHttpOperationTest {
         assertTrue(oper.operator.isAlive());
     }
 
-    @Test
-    public void testMakeContext() {
-        oper.makeContext();
-
-        assertTrue(oper.enrichment.isEmpty());
-
-        assertSame(BasicHttpOperation.REQ_ID, oper.event.getRequestId());
-        assertSame(oper.enrichment, oper.event.getAai());
-
-        assertSame(oper.event, oper.context.getEvent());
-
-        assertSame(oper.context, oper.params.getContext());
-        assertSame(oper.service, oper.params.getActorService());
-        assertSame(oper.executor, oper.params.getExecutor());
-        assertEquals(ACTOR, oper.params.getActor());
-        assertEquals(OPERATION, oper.params.getOperation());
-        assertEquals(BasicHttpOperation.TARGET_ENTITY, oper.params.getTargetEntity());
-    }
-
     @Test
     public void testInitOperator() throws Exception {
         oper.initOperator();
@@ -102,11 +83,6 @@ public class BasicHttpOperationTest {
         assertEquals(BasicHttpOperation.PATH, oper.operator.getPath());
     }
 
-    @Test
-    public void testMakeEnrichment() {
-        assertTrue(oper.makeEnrichment().isEmpty());
-    }
-
     @Test
     public void testProvideResponse() throws Exception {
         InvocationCallback<Response> cb = new InvocationCallback<>() {