diff options
author | kaixiliu <liukaixi@chinamobile.com> | 2023-06-13 16:24:29 +0800 |
---|---|---|
committer | Keguang He <hekeguang@chinamobile.com> | 2023-06-14 01:24:47 +0000 |
commit | 40fbaefbaf67524b497b8ec0eb3e1725b2e37ff1 (patch) | |
tree | 29cfa19f956ef2454c033ab6efe442c1a29d9d1e /intentanalysis/src/test/java | |
parent | 09cd2f9f50b3ecde778e7d5ba4e243bbad74eef2 (diff) |
Layered Analysis FulfillmentInfo
Issue-ID: USECASEUI-812
Signed-off-by: kaixiliu <liukaixi@chinamobile.com>
Change-Id: I79a06db33444a153708cd1804789a5d719551b9f
(cherry picked from commit 6e2dc3e031d258c2a447d6a175ce100bb3956993)
Diffstat (limited to 'intentanalysis/src/test/java')
-rw-r--r-- | intentanalysis/src/test/java/org/onap/usecaseui/intentanalysis/clldeliveryIntentmgt/clldeliverymodule/CLLDeliveryActuationModuleTest.java | 5 |
1 files changed, 3 insertions, 2 deletions
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<Expectation> expectationList = new ArrayList<>(); Expectation expectation = new Expectation(); expectation.setExpectationId("expectationId1"); + expectation.setExpectationObject(new ExpectationObject()); List<ExpectationTarget> targetList = new ArrayList<>(); ExpectationTarget target = new ExpectationTarget(); |