diff options
Diffstat (limited to 'main/src/test/java/org/onap/policy/pap/main/TestExceptions.java')
-rw-r--r-- | main/src/test/java/org/onap/policy/pap/main/TestExceptions.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/src/test/java/org/onap/policy/pap/main/TestExceptions.java b/main/src/test/java/org/onap/policy/pap/main/TestExceptions.java index 608e7ad8..c85531c7 100644 --- a/main/src/test/java/org/onap/policy/pap/main/TestExceptions.java +++ b/main/src/test/java/org/onap/policy/pap/main/TestExceptions.java @@ -1,6 +1,6 @@ /*-- * ============LICENSE_START======================================================= - * Copyright (C) 2019 Nordix Foundation. + * Copyright (C) 2019, 2023 Nordix Foundation. * Modifications Copyright (C) 2019-2020 AT&T Intellectual Property. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,7 +21,7 @@ package org.onap.policy.pap.main; -import org.junit.Test; +import org.junit.jupiter.api.Test; import org.onap.policy.common.utils.test.ExceptionsTester; /** @@ -29,10 +29,10 @@ import org.onap.policy.common.utils.test.ExceptionsTester; * * @author Ram Krishna Verma (ram.krishna.verma@est.tech) */ -public class TestExceptions { +class TestExceptions { @Test - public void test() { + void test() { new ExceptionsTester().test(PolicyPapException.class); new ExceptionsTester().test(PolicyPapRuntimeException.class); } |