aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/aai/ServicePropertiesTest.java
blob: 577f528203e5d2f4adbc5d31c8497b1f8b9e9078 (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.onap.vid.aai;

import java.util.Map;

import org.junit.Test;
import org.onap.vid.aai.model.ServiceProperties;

public class ServicePropertiesTest {

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

	@Test
	public void testGetAdditionalProperties() throws Exception {
		ServiceProperties testSubject;
		Map<String, Object> result;

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

	@Test
	public void testSetAdditionalProperty() throws Exception {
		ServiceProperties testSubject;
		String name = "";
		Object value = null;

		// default test
		testSubject = createTestSubject();
		testSubject.setAdditionalProperty(name, value);
	}
}