summaryrefslogtreecommitdiffstats
path: root/catalog-model/src/test/java/org/openecomp/sdc/be/model/GroupDefinitionTest.java
blob: 6cae6856449e4d374dd7bba005d0aa2289364384 (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
42
43
44
45
46
47
48
49
50
package org.openecomp.sdc.be.model;

import java.util.List;

import javax.annotation.Generated;

import org.junit.Test;


public class GroupDefinitionTest {

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

	
	@Test
	public void testConvertToGroupProperties() throws Exception {
		GroupDefinition testSubject;
		List<GroupProperty> result;

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

	
	@Test
	public void testConvertFromGroupProperties() throws Exception {
		GroupDefinition testSubject;
		List<GroupProperty> properties = null;

		// test 1
		testSubject = createTestSubject();
		properties = null;
		testSubject.convertFromGroupProperties(properties);
	}

	
	@Test
	public void testIsSamePrefix() throws Exception {
		GroupDefinition testSubject;
		String resourceName = "";
		boolean result;

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