summaryrefslogtreecommitdiffstats
path: root/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/MaxLengthConstraintTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/MaxLengthConstraintTest.java')
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/MaxLengthConstraintTest.java36
1 files changed, 36 insertions, 0 deletions
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/MaxLengthConstraintTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/MaxLengthConstraintTest.java
new file mode 100644
index 0000000000..ae0a50612d
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/MaxLengthConstraintTest.java
@@ -0,0 +1,36 @@
+package org.openecomp.sdc.be.model.tosca.constraints;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class MaxLengthConstraintTest {
+
+ private MaxLengthConstraint createTestSubject() {
+ return new MaxLengthConstraint(null);
+ }
+
+
+
+ @Test
+ public void testGetMaxLength() throws Exception {
+ MaxLengthConstraint testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMaxLength();
+ }
+
+
+ @Test
+ public void testSetMaxLength() throws Exception {
+ MaxLengthConstraint testSubject;
+ Integer maxLength = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMaxLength(maxLength);
+ }
+} \ No newline at end of file