aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/LengthConstraintTest.java
blob: 46a273b8926453084f5775f427245c0488875281 (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
35
36
package org.openecomp.sdc.be.model.tosca.constraints;

import org.junit.Test;


public class LengthConstraintTest {

	private LengthConstraint createTestSubject() {
		return new LengthConstraint();
	}

	


	
	@Test
	public void testGetLength() throws Exception {
		LengthConstraint testSubject;
		Integer result;

		// default test
		testSubject = createTestSubject();
		result = testSubject.getLength();
	}

	
	@Test
	public void testSetLength() throws Exception {
		LengthConstraint testSubject;
		Integer length = 0;

		// default test
		testSubject = createTestSubject();
		testSubject.setLength(length);
	}
}