blob: c878077311ce84317737f7da2e9482bb8a1fc218 (
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
46
47
48
49
50
|
package org.onap.aai.sparky.inventory.entity;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.util.ArrayList;
import org.junit.Before;
import org.junit.Test;
import org.onap.aai.sparky.viewandinspect.config.VisualizationConfigs;
public class TopographicalEntityTest {
private TopographicalEntity topographicalEntity;
@Before
public void init() throws Exception {
topographicalEntity = new TopographicalEntity();
}
@SuppressWarnings("static-access")
@Test
public void updateValues() {
topographicalEntity.setEntityType("");
assertNotNull(topographicalEntity.getEntityType());
topographicalEntity.setEntityPrimaryKeyValue("");
assertNotNull(topographicalEntity.getEntityPrimaryKeyValue());
topographicalEntity.setEntityPrimaryKeyName("");
assertNotNull(topographicalEntity.getEntityPrimaryKeyName());
topographicalEntity.setLatitude("");
assertNotNull(topographicalEntity.getLatitude());
topographicalEntity.setLongitude("");
assertNotNull(topographicalEntity.getLongitude());
topographicalEntity.setSelfLink("");
assertNotNull(topographicalEntity.getSelfLink());
topographicalEntity.setId("");
assertNotNull(topographicalEntity.getId());
assertNotNull(topographicalEntity.getSerialversionuid());
assertNotNull(topographicalEntity.toString());
//assertNotNull(topographicalEntity.getAsJson());
//assertNotNull(topographicalEntity.generateUniqueShaDigest("","",""));
}
}
|