diff options
author | Ittay Stern <ittay.stern@att.com> | 2019-12-09 20:06:15 +0200 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2019-12-09 21:18:49 +0200 |
commit | 5540d178ab3203ab2994b21ee3434cca73318aa3 (patch) | |
tree | a156a4c63e5f0ce1846ee1a20c5dd4fa12c626fd /vid-app-common/src/test/java/org/onap/vid/services/AsyncInstantiationBusinessLogicTest.java | |
parent | 299190fbe78defb71a717e446c0f394ea7404dfe (diff) |
Join ExistingElementsCounterMaps with ServiceInstantiation
This new pretty creature is called "ServiceInstantiationTemplate" :-)
Issue-ID: VID-724
Change-Id: I1437d76e79512920079b574844b19368c07f501f
Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/services/AsyncInstantiationBusinessLogicTest.java')
-rw-r--r-- | vid-app-common/src/test/java/org/onap/vid/services/AsyncInstantiationBusinessLogicTest.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/services/AsyncInstantiationBusinessLogicTest.java b/vid-app-common/src/test/java/org/onap/vid/services/AsyncInstantiationBusinessLogicTest.java index 56aaf1e83..d1124f3a8 100644 --- a/vid-app-common/src/test/java/org/onap/vid/services/AsyncInstantiationBusinessLogicTest.java +++ b/vid-app-common/src/test/java/org/onap/vid/services/AsyncInstantiationBusinessLogicTest.java @@ -35,7 +35,6 @@ import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.matchesPattern; import static org.hamcrest.Matchers.not; import static org.hamcrest.Matchers.nullValue; -import static org.hamcrest.Matchers.sameInstance; import static org.hamcrest.core.Every.everyItem; import static org.hamcrest.core.IsEqual.equalTo; import static org.mockito.ArgumentMatchers.any; @@ -1369,15 +1368,4 @@ public class AsyncInstantiationBusinessLogicTest extends AsyncInstantiationBaseT } - @Test - public void getJobRequestAsTemplate_whenIsCalled_asyncInstantiationRepositoryGetJobRequestIsDelegated() { - UUID jobId = UUID.randomUUID(); - ServiceInstantiation expected = mock(ServiceInstantiation.class); - doReturn(expected).when(asyncInstantiationRepository).getJobRequest(jobId); - - ServiceInstantiation jobRequestAsTemplate = asyncInstantiationBL.getJobRequestAsTemplate(jobId); - - assertThat(jobRequestAsTemplate, is(sameInstance(expected))); - - } } |