aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/ChoiceOrOtherMappingTest.java
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2021-02-23 17:43:55 +0000
committerChristophe Closset <christophe.closset@intl.att.com>2021-02-25 15:11:24 +0000
commite9610d643a01476b08bcad95e911f8dca21ddf28 (patch)
treef2917bd10fdf99e574a86cb23882e1934ed20006 /openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/ChoiceOrOtherMappingTest.java
parent058fdf8229ef1cfc82bbad223e885ae6afdc78d0 (diff)
Remove testNG dependencies (part 2)
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: Ifdc4c01dfad76d6f4aafe9318c71c8a0009f1375 Issue-ID: SDC-3108
Diffstat (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/ChoiceOrOtherMappingTest.java')
-rw-r--r--openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/ChoiceOrOtherMappingTest.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/ChoiceOrOtherMappingTest.java b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/ChoiceOrOtherMappingTest.java
index 6ad8c6f747..c7901c8458 100644
--- a/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/ChoiceOrOtherMappingTest.java
+++ b/openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/ChoiceOrOtherMappingTest.java
@@ -16,11 +16,12 @@
package org.openecomp.sdcrests.vendorlicense.rest.mapping;
-import static org.testng.Assert.assertEquals;
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+import org.junit.jupiter.api.Test;
import org.openecomp.sdc.vendorlicense.dao.types.ChoiceOrOther;
import org.openecomp.sdcrests.vendorlicense.types.ChoiceOrOtherDto;
-import org.testng.annotations.Test;
/**
* Any change to ChoiceOrOther easily break reconstruction of objects of this type.
@@ -29,7 +30,7 @@ import org.testng.annotations.Test;
* @author EVITALIY
* @since 28 Dec 17
*/
-public class ChoiceOrOtherMappingTest {
+class ChoiceOrOtherMappingTest {
private static final String UNKNOWN = "Unknown";
@@ -38,7 +39,7 @@ public class ChoiceOrOtherMappingTest {
}
@Test
- public void testApplyMappingFromDto() {
+ void testApplyMappingFromDto() {
ChoiceOrOtherDto<TestEnum> source = new ChoiceOrOtherDto<>();
source.setChoice(TestEnum.Yes);
@@ -51,7 +52,7 @@ public class ChoiceOrOtherMappingTest {
}
@Test
- public void testApplyMappingToDto() {
+ void testApplyMappingToDto() {
ChoiceOrOther<TestEnum> source = new ChoiceOrOther<>(TestEnum.Yes, UNKNOWN);