Increasing test coverage
[aai/sparky-be.git] / src / test / java / org / onap / aai / sparky / inventory / entity / TopographicalEntityTest.java
1 package org.onap.aai.sparky.inventory.entity;
2
3 import static org.junit.Assert.assertEquals;
4 import static org.junit.Assert.assertNotNull;
5 import static org.junit.Assert.assertNull;
6 import static org.junit.Assert.assertTrue;
7
8 import java.util.ArrayList;
9
10 import org.junit.Before;
11 import org.junit.Test;
12 import org.onap.aai.sparky.viewandinspect.config.VisualizationConfigs;
13
14 public class TopographicalEntityTest {
15         
16         private TopographicalEntity topographicalEntity;
17         
18         
19         @Before
20           public void init() throws Exception {
21                 topographicalEntity = new TopographicalEntity();
22           }
23         
24         
25         @SuppressWarnings("static-access")
26         @Test 
27         public void updateValues() {
28                 
29                 topographicalEntity.setEntityType("");
30                 assertNotNull(topographicalEntity.getEntityType());
31                 topographicalEntity.setEntityPrimaryKeyValue("");
32                 assertNotNull(topographicalEntity.getEntityPrimaryKeyValue());
33                 topographicalEntity.setEntityPrimaryKeyName("");
34                 assertNotNull(topographicalEntity.getEntityPrimaryKeyName());
35                 topographicalEntity.setLatitude("");
36                 assertNotNull(topographicalEntity.getLatitude());
37                 topographicalEntity.setLongitude("");
38                 assertNotNull(topographicalEntity.getLongitude());
39                 topographicalEntity.setSelfLink("");
40                 assertNotNull(topographicalEntity.getSelfLink());
41                 topographicalEntity.setId("");
42                 assertNotNull(topographicalEntity.getId());
43                 assertNotNull(topographicalEntity.getSerialversionuid());
44                 assertNotNull(topographicalEntity.toString());  
45                 
46                 //assertNotNull(topographicalEntity.getAsJson());
47                 //assertNotNull(topographicalEntity.generateUniqueShaDigest("","",""));
48         }
49
50 }