summaryrefslogtreecommitdiffstats
path: root/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/OperationInputDefinitionTest.java
blob: 915bc229b92688f050bfec46b001af0cd6ae87f5 (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
37
38
39
40
41
package org.openecomp.sdc.be.datatypes.elements;

import org.junit.Test;

public class OperationInputDefinitionTest {

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

	@Test
	public void testConstructors() throws Exception {
		OperationInputDefinition testSubject;
		String result;

		// default test
		testSubject = createTestSubject();
		new OperationInputDefinition("", "", true, "");
		new OperationInputDefinition("stam", testSubject, null, null);
	}

	@Test
	public void testGetLabel() throws Exception {
		OperationInputDefinition testSubject;
		String result;

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

	@Test
	public void testSetLabel() throws Exception {
		OperationInputDefinition testSubject;
		String name = "";

		// default test
		testSubject = createTestSubject();
		testSubject.setLabel(name);
	}
}