blob: 55c70c51c31c3e5cbb6b2924ad7c54a0f7c651a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
package org.openecomp.sdc.be.model.tosca.constraints;
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);
}
}
|