Improve code quality:
[dcaegen2/platform.git] / mod / bpgenerator / src / test / java / org / onap / blueprintgenerator / models / dmaapbp / DmaapBlueprintTest.java
index 820082e..9e31002 100644 (file)
@@ -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;
     }
 }