Upgrade testing frameworks to latest not-vulnerable versions
[sdc.git] / openecomp-be / lib / openecomp-sdc-notification-lib / openecomp-sdc-notification-core / src / test / java / org / openecomp / sdc / notification / services / impl / NotificationsServiceImplTest.java
index 6416434..f893983 100644 (file)
@@ -33,7 +33,7 @@ import org.openecomp.sdc.notification.exceptons.NotificationNotExistException;
 
 import java.util.UUID;
 
-import static org.mockito.Matchers.any;
+import static org.mockito.ArgumentMatchers.any;
 import static org.mockito.Mockito.*;
 
 /**
@@ -51,7 +51,7 @@ public class NotificationsServiceImplTest {
 
     @Before
     public void setUp() throws Exception {
-        MockitoAnnotations.initMocks(this);
+        MockitoAnnotations.openMocks(this);
     }
 
     public void shouldCallNotificationsDaoIfNotificationEntityExist() throws Exception {