1 package org.onap.aai.sparky.config.oxm;
3 import static org.junit.Assert.assertNotNull;
4 import static org.junit.Assert.assertNull;
7 import org.junit.Before;
10 public class GeoEntityDescriptorTest {
12 private GeoEntityDescriptor geoEntityDescriptor;
15 public void init() throws Exception {
16 geoEntityDescriptor = new GeoEntityDescriptor();
21 public void updateValues() {
23 geoEntityDescriptor.setGeoLatName("");
24 assertNotNull(geoEntityDescriptor.getGeoLatName());
25 geoEntityDescriptor.setGeoLongName("");
26 assertNotNull(geoEntityDescriptor.getGeoLongName());
27 assertNotNull(geoEntityDescriptor.toString());
28 geoEntityDescriptor.setGeoLatName(null);
29 assertNull(geoEntityDescriptor.getGeoLatName());
30 geoEntityDescriptor.setGeoLongName(null);
31 assertNull(geoEntityDescriptor.getGeoLongName());
32 assertNotNull(geoEntityDescriptor.toString());