From 40fbaefbaf67524b497b8ec0eb3e1725b2e37ff1 Mon Sep 17 00:00:00 2001 From: kaixiliu Date: Tue, 13 Jun 2023 16:24:29 +0800 Subject: Layered Analysis FulfillmentInfo Issue-ID: USECASEUI-812 Signed-off-by: kaixiliu Change-Id: I79a06db33444a153708cd1804789a5d719551b9f (cherry picked from commit 6e2dc3e031d258c2a447d6a175ce100bb3956993) --- .../clldeliverymodule/CLLDeliveryActuationModuleTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'intentanalysis/src/test/java') diff --git a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/clldeliveryIntentmgt/clldeliverymodule/CLLDeliveryActuationModuleTest.java b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/clldeliveryIntentmgt/clldeliverymodule/CLLDeliveryActuationModuleTest.java index 30ffd01..37a8b79 100644 --- a/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/clldeliveryIntentmgt/clldeliverymodule/CLLDeliveryActuationModuleTest.java +++ b/intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/clldeliveryIntentmgt/clldeliverymodule/CLLDeliveryActuationModuleTest.java @@ -19,8 +19,8 @@ package org.onap.usecaseui.intentanalysis.clldeliveryIntentmgt.clldeliverymodule import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; -import org.mockito.InjectMocks; import org.mockito.Mock; +import org.mockito.MockedStatic; import org.mockito.Mockito; import org.onap.usecaseui.intentanalysis.IntentAnalysisApplicationTests; import org.onap.usecaseui.intentanalysis.adapters.so.SOService; @@ -29,6 +29,7 @@ import org.onap.usecaseui.intentanalysis.bean.models.*; import org.onap.usecaseui.intentanalysis.service.ContextService; import org.onap.usecaseui.intentanalysis.service.ExpectationObjectService; import org.onap.usecaseui.intentanalysis.service.ExpectationService; +import org.onap.usecaseui.intentanalysis.util.HttpUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @@ -37,7 +38,6 @@ import java.util.ArrayList; import java.util.List; import static org.mockito.ArgumentMatchers.any; -import static org.junit.jupiter.api.Assertions.*; @SpringBootTest(classes = IntentAnalysisApplicationTests.class) @RunWith(SpringRunner.class) @@ -98,6 +98,7 @@ public class CLLDeliveryActuationModuleTest { List expectationList = new ArrayList<>(); Expectation expectation = new Expectation(); expectation.setExpectationId("expectationId1"); + expectation.setExpectationObject(new ExpectationObject()); List targetList = new ArrayList<>(); ExpectationTarget target = new ExpectationTarget(); -- cgit 1.2.3-korg