import java.util.LinkedList;
import java.util.Queue;
import java.util.function.Consumer;
-import org.junit.Before;
-import org.junit.BeforeClass;
+import org.junit.jupiter.api.BeforeAll;
+import org.junit.jupiter.api.BeforeEach;
import org.mockito.ArgumentCaptor;
import org.mockito.stubbing.Answer;
import org.onap.policy.common.endpoints.event.comm.Topic.CommInfrastructure;
protected RequestParams reqParams;
protected PdpModifyRequestMapParams mapParams;
- @BeforeClass
+ @BeforeAll
public static void setupBeforeAll() {
Registry.registerOrReplace(PapConstants.REG_METER_REGISTRY, new SimpleMeterRegistry());
}
*
* @throws Exception if an error occurs
*/
- @Before
+ @BeforeEach
@SuppressWarnings("unchecked")
public void setUp() throws Exception {
publisher = mock(Publisher.class);