X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=main%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fpolicy%2Fapi%2Fmain%2Fexception%2FTestPolicyApiException.java;fp=main%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fpolicy%2Fapi%2Fmain%2Fexception%2FTestPolicyApiException.java;h=47ca230d169f85ccaadd5e19c044888ec2ac7650;hb=6438ef61e253f5071a5539c0c8de8890260d4f58;hp=1212517cb08c261aeaf04e894df05ba14550aa58;hpb=22d211f6df78363d61192057d7cd03534ff7d1c9;p=policy%2Fapi.git diff --git a/main/src/test/java/org/onap/policy/api/main/exception/TestPolicyApiException.java b/main/src/test/java/org/onap/policy/api/main/exception/TestPolicyApiException.java index 1212517c..47ca230d 100644 --- a/main/src/test/java/org/onap/policy/api/main/exception/TestPolicyApiException.java +++ b/main/src/test/java/org/onap/policy/api/main/exception/TestPolicyApiException.java @@ -3,6 +3,7 @@ * ONAP Policy API * ================================================================================ * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2023 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,15 +23,14 @@ package org.onap.policy.api.main.exception; -import static org.junit.Assert.assertEquals; - -import org.junit.Test; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; import org.onap.policy.common.utils.test.ExceptionsTester; -public class TestPolicyApiException { +class TestPolicyApiException { @Test - public void test() { - assertEquals(3, new ExceptionsTester().test(PolicyApiException.class)); + void test() { + Assertions.assertEquals(3, new ExceptionsTester().test(PolicyApiException.class)); } }