blob: 2958525f1cdebea33fc4313ecbf03bb9ef7f0e2d (
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.aai.sparky.search;
import static org.junit.Assert.assertNotNull;
import java.util.HashMap;
import org.junit.Before;
import org.junit.Test;
public class SearchEntityPropertiesTest {
private SearchEntityProperties searchEntityProperties;
private HashMap<String,String> fields;
@Before
public void init() throws Exception {
searchEntityProperties = new SearchEntityProperties();
fields = new HashMap<String,String>();
}
@Test
public void updateValues() {
searchEntityProperties.setFields(fields);
assertNotNull(searchEntityProperties.getFields());
searchEntityProperties.setType("VNF-Stack");
assertNotNull(searchEntityProperties.getType());
}
}
|