diff options
Diffstat (limited to 'catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusOfServiceListResponceTest.java')
-rw-r--r-- | catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusOfServiceListResponceTest.java | 35 |
1 files changed, 7 insertions, 28 deletions
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusOfServiceListResponceTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusOfServiceListResponceTest.java index 4a5964aaf6..e4d3c9bce9 100644 --- a/catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusOfServiceListResponceTest.java +++ b/catalog-be/src/test/java/org/openecomp/sdc/be/info/DistributionStatusOfServiceListResponceTest.java @@ -1,35 +1,14 @@ package org.openecomp.sdc.be.info; -import java.util.List; - import org.junit.Test; +import static com.google.code.beanmatchers.BeanMatchers.hasValidGettersAndSetters; +import static org.hamcrest.MatcherAssert.assertThat; -public class DistributionStatusOfServiceListResponceTest { - - private DistributionStatusOfServiceListResponce createTestSubject() { - return new DistributionStatusOfServiceListResponce(); - } - - - @Test - public void testGetDistributionStatusOfServiceList() throws Exception { - DistributionStatusOfServiceListResponce testSubject; - List<DistributionStatusOfServiceInfo> result; - // default test - testSubject = createTestSubject(); - result = testSubject.getDistributionStatusOfServiceList(); - } - - - @Test - public void testSetDistributionStatusOfServiceList() throws Exception { - DistributionStatusOfServiceListResponce testSubject; - List<DistributionStatusOfServiceInfo> distribStatusOfServiceInfoList = null; - - // default test - testSubject = createTestSubject(); - testSubject.setDistributionStatusOfServiceList(distribStatusOfServiceInfoList); - } +public class DistributionStatusOfServiceListResponceTest { + @Test + public void shouldHaveValidGettersAndSetters() { + assertThat(DistributionStatusOfServiceListResponce.class, hasValidGettersAndSetters()); + } }
\ No newline at end of file |