X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fesr-server.git;a=blobdiff_plain;f=esr-mgr%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Faai%2Fesr%2Fentity%2Faai%2FEsrThirdpartySdncTest.java;h=253dbbad95e2ddb97a243813227045cbb5cb0c15;hp=6f757b55d6f8640e9334c9fd4c2ca4b9f75312d0;hb=ed26992f976741031237ead3a5dc0565d4318b05;hpb=f73ad41f58f1f60d00d42a8bc5fc2502a46d62dd diff --git a/esr-mgr/src/test/java/org/onap/aai/esr/entity/aai/EsrThirdpartySdncTest.java b/esr-mgr/src/test/java/org/onap/aai/esr/entity/aai/EsrThirdpartySdncTest.java index 6f757b5..253dbba 100644 --- a/esr-mgr/src/test/java/org/onap/aai/esr/entity/aai/EsrThirdpartySdncTest.java +++ b/esr-mgr/src/test/java/org/onap/aai/esr/entity/aai/EsrThirdpartySdncTest.java @@ -16,39 +16,38 @@ package org.onap.aai.esr.entity.aai; import static org.junit.Assert.assertEquals; - import org.junit.Test; public class EsrThirdpartySdncTest { - @Test - public void getterAndSetter4thirdpartySdncId(){ - final String thirdpartySdncId = "thirdpartySdncId-test"; - EsrThirdpartySdnc esrThirdpartySdnc = new EsrThirdpartySdnc(); - esrThirdpartySdnc.setThirdpartySdncId(thirdpartySdncId); - assertEquals(esrThirdpartySdnc.getThirdpartySdncId(), thirdpartySdncId); - } - - @Test - public void getterAndSetter4resourceVersion(){ - final String resourceVersion = "resourceVersion-test"; - EsrThirdpartySdnc esrThirdpartySdnc = new EsrThirdpartySdnc(); - esrThirdpartySdnc.setResourceVersion(resourceVersion); - assertEquals(esrThirdpartySdnc.getResourceVersion(), resourceVersion); - } - - @Test - public void getterAndSetter4location(){ - final String location = "location-test"; - EsrThirdpartySdnc esrThirdpartySdnc = new EsrThirdpartySdnc(); - esrThirdpartySdnc.setLocation(location); - assertEquals(esrThirdpartySdnc.getLocation(), location); - } - - @Test - public void getterAndSetter4productName(){ - final String productName = "productName-test"; - EsrThirdpartySdnc esrThirdpartySdnc = new EsrThirdpartySdnc(); - esrThirdpartySdnc.setProductName(productName); - assertEquals(esrThirdpartySdnc.getProductName(), productName); - } + @Test + public void getterAndSetter4thirdpartySdncId() { + final String thirdpartySdncId = "thirdpartySdncId-test"; + EsrThirdpartySdnc esrThirdpartySdnc = new EsrThirdpartySdnc(); + esrThirdpartySdnc.setThirdpartySdncId(thirdpartySdncId); + assertEquals(esrThirdpartySdnc.getThirdpartySdncId(), thirdpartySdncId); + } + + @Test + public void getterAndSetter4resourceVersion() { + final String resourceVersion = "resourceVersion-test"; + EsrThirdpartySdnc esrThirdpartySdnc = new EsrThirdpartySdnc(); + esrThirdpartySdnc.setResourceVersion(resourceVersion); + assertEquals(esrThirdpartySdnc.getResourceVersion(), resourceVersion); + } + + @Test + public void getterAndSetter4location() { + final String location = "location-test"; + EsrThirdpartySdnc esrThirdpartySdnc = new EsrThirdpartySdnc(); + esrThirdpartySdnc.setLocation(location); + assertEquals(esrThirdpartySdnc.getLocation(), location); + } + + @Test + public void getterAndSetter4productName() { + final String productName = "productName-test"; + EsrThirdpartySdnc esrThirdpartySdnc = new EsrThirdpartySdnc(); + esrThirdpartySdnc.setProductName(productName); + assertEquals(esrThirdpartySdnc.getProductName(), productName); + } }