diff options
author | Yuli Shlosberg <ys9693@att.com> | 2017-10-17 16:38:07 +0300 |
---|---|---|
committer | Yuli Shlosberg <ys9693@att.com> | 2017-10-22 08:30:44 +0000 |
commit | 56f02056947bd1bfd4310c86401113062cf3a74e (patch) | |
tree | 4b2afee29fc0a5aa5b88696903a6b9f68c5cf4f0 /catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductCategoryGroupMetadataTest.java | |
parent | bc077839a99429fede9cb027f58a209e72f81ba6 (diff) |
add unit tests to BE components
Change-Id: Ic22f03832f1810f51958db2e7dba5569a9bf1cd7
Issue-Id: SDC-467
Signed-off-by: Yuli Shlosberg <ys9693@att.com>
(cherry picked from commit 031b1e4dc965195624fb0c574376cba1b0c57488)
Diffstat (limited to 'catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductCategoryGroupMetadataTest.java')
-rw-r--r-- | catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductCategoryGroupMetadataTest.java | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductCategoryGroupMetadataTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductCategoryGroupMetadataTest.java new file mode 100644 index 0000000000..0d931e15df --- /dev/null +++ b/catalog-be/src/test/java/org/openecomp/sdc/be/externalapi/servlet/representation/ProductCategoryGroupMetadataTest.java @@ -0,0 +1,79 @@ +package org.openecomp.sdc.be.externalapi.servlet.representation; + +import javax.annotation.Generated; + +import org.junit.Test; + + +public class ProductCategoryGroupMetadataTest { + + private ProductCategoryGroupMetadata createTestSubject() { + return new ProductCategoryGroupMetadata("", "", ""); + } + + + @Test + public void testGetCategory() throws Exception { + ProductCategoryGroupMetadata testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getCategory(); + } + + + @Test + public void testSetCategory() throws Exception { + ProductCategoryGroupMetadata testSubject; + String category = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setCategory(category); + } + + + @Test + public void testGetSubCategory() throws Exception { + ProductCategoryGroupMetadata testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getSubCategory(); + } + + + @Test + public void testSetSubCategory() throws Exception { + ProductCategoryGroupMetadata testSubject; + String subCategory = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setSubCategory(subCategory); + } + + + @Test + public void testGetGroup() throws Exception { + ProductCategoryGroupMetadata testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getGroup(); + } + + + @Test + public void testSetGroup() throws Exception { + ProductCategoryGroupMetadata testSubject; + String group = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setGroup(group); + } +}
\ No newline at end of file |