diff options
author | vasraz <vasyl.razinkov@est.tech> | 2021-02-23 17:43:55 +0000 |
---|---|---|
committer | Christophe Closset <christophe.closset@intl.att.com> | 2021-02-25 15:11:24 +0000 |
commit | e9610d643a01476b08bcad95e911f8dca21ddf28 (patch) | |
tree | f2917bd10fdf99e574a86cb23882e1934ed20006 /openecomp-be/api/openecomp-sdc-rest-webapp/vendor-license-rest/vendor-license-rest-services/src/test/java/org/openecomp/sdcrests/vendorlicense/rest/mapping/MapChoiceOrOtherToChoiceOrOtherDtoTest.java | |
parent | 058fdf8229ef1cfc82bbad223e885ae6afdc78d0 (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/MapChoiceOrOtherToChoiceOrOtherDtoTest.java')
1 files changed, 7 insertions, 6 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/MapChoiceOrOtherToChoiceOrOtherDtoTest.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/MapChoiceOrOtherToChoiceOrOtherDtoTest.java index aff5237de7..309205e522 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/MapChoiceOrOtherToChoiceOrOtherDtoTest.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/MapChoiceOrOtherToChoiceOrOtherDtoTest.java @@ -16,18 +16,19 @@ package org.openecomp.sdcrests.vendorlicense.rest.mapping; -import static org.testng.Assert.assertEquals; -import static org.testng.Assert.assertNotNull; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; + +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; -public class MapChoiceOrOtherToChoiceOrOtherDtoTest { +class MapChoiceOrOtherToChoiceOrOtherDtoTest { @Test - public void testOther() { + void testOther() { ChoiceOrOther source = new ChoiceOrOther(); ChoiceOrOtherDto target = new ChoiceOrOtherDto(); MapChoiceOrOtherToChoiceOrOtherDto mapper = new MapChoiceOrOtherToChoiceOrOtherDto(); @@ -38,7 +39,7 @@ public class MapChoiceOrOtherToChoiceOrOtherDtoTest { } @Test - public void testChoice() { + void testChoice() { ChoiceOrOther source = new ChoiceOrOther(); ChoiceOrOtherDto target = new ChoiceOrOtherDto(); MapChoiceOrOtherToChoiceOrOtherDto mapper = new MapChoiceOrOtherToChoiceOrOtherDto(); |