Java 17 / Spring 6 / Spring Boot 3 Upgrade
[policy/pap.git] / main / src / test / java / org / onap / policy / pap / main / notification / StatusActionTest.java
index 3303a9b..17a6141 100644 (file)
@@ -3,6 +3,7 @@
  * ONAP
  * ================================================================================
  * Copyright (C) 2021 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,15 @@ package org.onap.policy.pap.main.notification;
 
 import static org.assertj.core.api.Assertions.assertThat;
 
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
 
 /**
  * Only test the methods that are not generated by lombok.
  */
-public class StatusActionTest {
+class StatusActionTest {
 
     @Test
-    public void testSetChanged() {
+    void testSetChanged() {
         StatusAction status = new StatusAction(StatusAction.Action.UNCHANGED, null);
 
         // new records should always remain new - action should not change