Refactoring Consolidation Service
[sdc.git] / catalog-model / src / test / java / org / openecomp / sdc / be / model / tosca / constraints / MaxLengthConstraintTest.java
1 package org.openecomp.sdc.be.model.tosca.constraints;
2
3 import org.junit.Test;
4
5
6 public class MaxLengthConstraintTest {
7
8         private MaxLengthConstraint createTestSubject() {
9                 return new MaxLengthConstraint(null);
10         }
11
12         
13         
14         @Test
15         public void testGetMaxLength() throws Exception {
16                 MaxLengthConstraint testSubject;
17                 Integer result;
18
19                 // default test
20                 testSubject = createTestSubject();
21                 result = testSubject.getMaxLength();
22         }
23
24         
25         @Test
26         public void testSetMaxLength() throws Exception {
27                 MaxLengthConstraint testSubject;
28                 Integer maxLength = 0;
29
30                 // default test
31                 testSubject = createTestSubject();
32                 testSubject.setMaxLength(maxLength);
33         }
34 }