summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductAssetMetadataTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductAssetMetadataTest.java')
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductAssetMetadataTest.java107
1 files changed, 3 insertions, 104 deletions
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductAssetMetadataTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductAssetMetadataTest.java
index 615c8e7e4f..8fd500dad5 100644
--- a/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductAssetMetadataTest.java
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductAssetMetadataTest.java
@@ -20,10 +20,9 @@
package org.openecomp.sdc.be.externalapi.servlet.representation;
-import org.junit.Test;
-
-import java.util.List;
+import static org.assertj.core.api.Assertions.assertThat;
+import org.junit.Test;
public class ProductAssetMetadataTest {
@@ -35,109 +34,9 @@ public class ProductAssetMetadataTest {
@Test
public void testGetLifecycleState() throws Exception {
ProductAssetMetadata testSubject;
- String result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getLifecycleState();
- }
-
-
- @Test
- public void testSetLifecycleState() throws Exception {
- ProductAssetMetadata testSubject;
- String lifecycleState = "";
-
- // default test
- testSubject = createTestSubject();
- testSubject.setLifecycleState(lifecycleState);
- }
-
-
- @Test
- public void testGetLastUpdaterUserId() throws Exception {
- ProductAssetMetadata testSubject;
- String result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getLastUpdaterUserId();
- }
-
-
- @Test
- public void testSetLastUpdaterUserId() throws Exception {
- ProductAssetMetadata testSubject;
- String lastUpdaterUserId = "";
-
- // default test
- testSubject = createTestSubject();
- testSubject.setLastUpdaterUserId(lastUpdaterUserId);
- }
-
-
- @Test
- public void testIsActive() throws Exception {
- ProductAssetMetadata testSubject;
- boolean result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.isActive();
- }
-
-
- @Test
- public void testSetActive() throws Exception {
- ProductAssetMetadata testSubject;
- boolean isActive = false;
-
- // default test
- testSubject = createTestSubject();
- testSubject.setActive(isActive);
- }
-
-
- @Test
- public void testGetContacts() throws Exception {
- ProductAssetMetadata testSubject;
- List<String> result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getContacts();
- }
-
-
- @Test
- public void testSetContacts() throws Exception {
- ProductAssetMetadata testSubject;
- List<String> contacts = null;
-
- // default test
- testSubject = createTestSubject();
- testSubject.setContacts(contacts);
- }
-
-
- @Test
- public void testGetProductGroupings() throws Exception {
- ProductAssetMetadata testSubject;
- List<ProductCategoryGroupMetadata> result;
-
- // default test
- testSubject = createTestSubject();
- result = testSubject.getProductGroupings();
- }
-
-
- @Test
- public void testSetProductGroupings() throws Exception {
- ProductAssetMetadata testSubject;
- List<ProductCategoryGroupMetadata> productGroupings = null;
// default test
testSubject = createTestSubject();
- testSubject.setProductGroupings(productGroupings);
+ assertThat(testSubject).isInstanceOf(ProductAssetMetadata.class);
}
}