1 package org.onap.aai.sparky.inventory.entity;
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;
8 import java.util.ArrayList;
10 import org.junit.Before;
11 import org.junit.Test;
12 import org.onap.aai.sparky.viewandinspect.config.VisualizationConfigs;
14 public class TopographicalEntityTest {
16 private TopographicalEntity topographicalEntity;
20 public void init() throws Exception {
21 topographicalEntity = new TopographicalEntity();
25 @SuppressWarnings("static-access")
27 public void updateValues() {
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());
46 //assertNotNull(topographicalEntity.getAsJson());
47 //assertNotNull(topographicalEntity.generateUniqueShaDigest("","",""));