diff options
author | 2020-09-23 13:57:45 +0200 | |
---|---|---|
committer | 2020-09-25 12:34:13 +0200 | |
commit | 80c167b8b051fc81aa726e31f62982e0fcb942fe (patch) | |
tree | cc2bd9c1479c9bb485be7f7567d8ebc07493eb93 /mod/bpgenerator/src/test/java/org/onap/blueprintgenerator/models | |
parent | ab083ed3b5bb193f1ec1d24761d4e2a2c57fda30 (diff) |
Improve code quality:
- Refactor Properties class
- Refactor ResourceConfig class
Issue-ID: DCAEGEN2-2449
Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com>
Change-Id: I9f7debafc21d9dd2912a537499d6936e511dd824
Diffstat (limited to 'mod/bpgenerator/src/test/java/org/onap/blueprintgenerator/models')
-rw-r--r-- | mod/bpgenerator/src/test/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprintTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/bpgenerator/src/test/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprintTest.java b/mod/bpgenerator/src/test/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprintTest.java index 820082e..9e31002 100644 --- a/mod/bpgenerator/src/test/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprintTest.java +++ b/mod/bpgenerator/src/test/java/org/onap/blueprintgenerator/models/dmaapbp/DmaapBlueprintTest.java @@ -239,6 +239,7 @@ public class DmaapBlueprintTest { when(componentSpec.getStreams()).thenReturn(streams); when(componentSpec.getArtifacts()).thenReturn(arrayArtifacts); when(componentSpec.getParameters()).thenReturn(new Parameters[0]); + when(componentSpec.getSelfName()).thenReturn(MOCKED_NAME); return componentSpec; } } |