diff options
Diffstat (limited to 'ecomp-sdk/epsdk-analytics')
-rw-r--r-- | ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/gmap/line/LineInfoTest.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/gmap/line/LineInfoTest.java b/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/gmap/line/LineInfoTest.java index 5ff6e78b..f9a5ee2d 100644 --- a/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/gmap/line/LineInfoTest.java +++ b/ecomp-sdk/epsdk-analytics/src/test/java/org/onap/portalsdk/analytics/gmap/line/LineInfoTest.java @@ -114,4 +114,12 @@ public class LineInfoTest { assertEquals("length", list.get(0)); } + @Test + public void getAttributeKeysTest() throws Exception { + Map<String, String> lineAttributes1 = new HashMap<>(); + lineAttributes1.put("length", "200cm"); + lineInfo.initializeAttributes(lineAttributes1); + List<String> list = lineInfo.getAttributeKeys(); + assertEquals("length", list.get(0)); + } } |