* so
* ================================================================================
* Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved.
- * Modifications Copyright (C) 2019 Nordix Foundation.
+ * Modifications Copyright (C) 2019, 2024 Nordix Foundation.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
package org.onap.policy.so;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertNull;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertNotNull;
+import static org.junit.jupiter.api.Assertions.assertNull;
-import org.junit.Test;
+import org.junit.jupiter.api.Test;
-public class SoServiceExceptionHolderTest {
+class SoServiceExceptionHolderTest {
@Test
- public void testConstructor() {
+ void testConstructor() {
SoServiceExceptionHolder obj = new SoServiceExceptionHolder();
assertNull(obj.getMessageId());
}
@Test
- public void testSetGet() {
+ void testSetGet() {
SoServiceExceptionHolder obj = new SoServiceExceptionHolder();
obj.setMessageId("messageId");