1b8694f49e08fc89ef7e68c0e85c9a5c80f274a4
[sdc.git] /
1 package org.openecomp.sdc.be.model.tosca.constraints;
2
3 import org.junit.Test;
4
5
6 public class MinLengthConstraintTest {
7
8         private MinLengthConstraint createTestSubject() {
9                 return new MinLengthConstraint(null);
10         }
11
12         
13
14
15         
16         @Test
17         public void testGetMinLength() throws Exception {
18                 MinLengthConstraint testSubject;
19                 Integer result;
20
21                 // default test
22                 testSubject = createTestSubject();
23                 result = testSubject.getMinLength();
24         }
25
26         
27         @Test
28         public void testSetMinLength() throws Exception {
29                 MinLengthConstraint testSubject;
30                 Integer minLength = 0;
31
32                 // default test
33                 testSubject = createTestSubject();
34                 testSubject.setMinLength(minLength);
35         }
36 }