blob: d86f7f43f7e209e8e3d3db8480d6459703d2a143 (
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
|
package org.openecomp.sdc.be.model.tosca.converters;
import java.util.Map;
import javax.annotation.Generated;
import org.junit.Assert;
import org.junit.Test;
import org.openecomp.sdc.be.model.DataTypeDefinition;
public class LowerCaseConverterTest {
private LowerCaseConverter createTestSubject() {
return LowerCaseConverter.getInstance();
}
@Test
public void testConvert() throws Exception {
LowerCaseConverter testSubject;
String value = "";
String innerType = "";
Map<String, DataTypeDefinition> dataTypes = null;
String result;
// test 1
testSubject = createTestSubject();
value = null;
result = testSubject.convert(value, innerType, dataTypes);
// test 2
testSubject = createTestSubject();
value = "";
result = testSubject.convert(value, innerType, dataTypes);
}
@Test
public void testGetInstance() throws Exception {
LowerCaseConverter result;
// default test
result = LowerCaseConverter.getInstance();
}
}
|