blob: 186b4eb8eabae8f4313330a26221321a1abed527 (
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
|
package org.openecomp.sdc.be.dao.utils;
import org.junit.Test;
public class TypeMapTest {
private TypeMap createTestSubject() {
return new TypeMap();
}
@Test
public void testPut() throws Exception {
TypeMap testSubject;
String key = "mock";
Object value = new Object();
// default test
testSubject = createTestSubject();
testSubject.put(key, value);
}
@Test
public void testGet() throws Exception {
TypeMap testSubject;
Class clazz = Object.class;
String key = "mock";
Object result;
// default test
testSubject = createTestSubject();
result = testSubject.get(clazz, key);
}
}
|