Improve testing stability
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / components / impl / ProductBusinessLogicTest.java
index 42d4e4b..fd8aede 100644 (file)
@@ -106,7 +106,7 @@ public class ProductBusinessLogicTest extends ComponentBusinessLogicMock {
                        artifactsBusinessLogic, componentInstanceBusinessLogic, artifactToscaOperation, componentContactIdValidator,
                        componentNameValidator, componentTagsValidator, componentValidator,
                        componentIconValidator, componentProjectCodeValidator, componentDescriptionValidator );
-               MockitoAnnotations.initMocks(this);
+               MockitoAnnotations.openMocks(this);
                product = new Product();
                user = new User();
                contacts = new ArrayList<>();