2958525f1cdebea33fc4313ecbf03bb9ef7f0e2d
[aai/sparky-be.git] / sparkybe-onap-service / src / test / java / org / onap / aai / sparky / search / SearchEntityPropertiesTest.java
1 package org.onap.aai.sparky.search;
2
3 import static org.junit.Assert.assertNotNull;
4
5 import java.util.HashMap;
6
7 import org.junit.Before;
8 import org.junit.Test;
9
10 public class SearchEntityPropertiesTest {
11         
12         private SearchEntityProperties searchEntityProperties;
13         private HashMap<String,String> fields; 
14         
15         @Before
16           public void init() throws Exception {
17                 searchEntityProperties = new SearchEntityProperties();
18                 fields = new HashMap<String,String>();
19               
20           }
21         
22         
23         @Test 
24         public void updateValues() {
25                 
26                 searchEntityProperties.setFields(fields);
27                 assertNotNull(searchEntityProperties.getFields());
28                 searchEntityProperties.setType("VNF-Stack");
29                 assertNotNull(searchEntityProperties.getType());
30                 
31         }
32         
33
34 }