aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/AttributeBusinessLogicTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/AttributeBusinessLogicTest.java')
-rw-r--r--catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/AttributeBusinessLogicTest.java85
1 files changed, 85 insertions, 0 deletions
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/AttributeBusinessLogicTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/AttributeBusinessLogicTest.java
new file mode 100644
index 0000000000..e10c3b41ba
--- /dev/null
+++ b/catalog-be/src/test/java/org/openecomp/sdc/be/components/impl/AttributeBusinessLogicTest.java
@@ -0,0 +1,85 @@
+package org.openecomp.sdc.be.components.impl;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+import org.openecomp.sdc.be.model.PropertyDefinition;
+import org.openecomp.sdc.exception.ResponseFormat;
+
+import fj.data.Either;
+
+
+public class AttributeBusinessLogicTest {
+
+ private AttributeBusinessLogic createTestSubject() {
+ return new AttributeBusinessLogic();
+ }
+
+
+ @Test
+ public void testCreateAttribute() throws Exception {
+ AttributeBusinessLogic testSubject;
+ String resourceId = "";
+ PropertyDefinition newAttributeDef = null;
+ String userId = "";
+ Either<PropertyDefinition, ResponseFormat> result;
+
+ // default test
+ testSubject = createTestSubject();
+ }
+
+
+ @Test
+ public void testIsAttributeExist() throws Exception {
+ AttributeBusinessLogic testSubject;List<PropertyDefinition> attributes = null;
+ String resourceUid = "";
+ String propertyName = "";
+ boolean result;
+
+ // test 1
+ testSubject=createTestSubject();attributes = null;
+ }
+
+
+ @Test
+ public void testGetAttribute() throws Exception {
+ AttributeBusinessLogic testSubject;
+ String resourceId = "";
+ String attributeId = "";
+ String userId = "";
+ Either<PropertyDefinition, ResponseFormat> result;
+
+ // default test
+ testSubject = createTestSubject();
+ }
+
+
+ @Test
+ public void testUpdateAttribute() throws Exception {
+ AttributeBusinessLogic testSubject;
+ String resourceId = "";
+ String attributeId = "";
+ PropertyDefinition newAttDef = null;
+ String userId = "";
+ Either<PropertyDefinition, ResponseFormat> result;
+
+ // default test
+ testSubject = createTestSubject();
+ }
+
+
+ @Test
+ public void testDeleteAttribute() throws Exception {
+ AttributeBusinessLogic testSubject;
+ String resourceId = "";
+ String attributeId = "";
+ String userId = "";
+ Either<PropertyDefinition, ResponseFormat> result;
+
+ // default test
+ testSubject = createTestSubject();
+ }
+} \ No newline at end of file