CodeCoverage improvement for dcaegen2-services-mapper
[dcaegen2/services/mapper.git] / UniversalVesAdapter / src / test / java / org / onap / universalvesadapter / mappingconfig / EntryTest.java
index 0097658..00ed93a 100644 (file)
@@ -3,6 +3,7 @@
  * ONAP : DCAE\r
  * ================================================================================\r
  * Copyright 2018-2019 TechMahindra\r
+ * Copyright (C) 2022 Huawei. All rights reserved. \r
  * ================================================================================\r
  * Licensed under the Apache License, Version 2.0 (the "License");\r
  * you may not use this file except in compliance with the License.\r
@@ -52,9 +53,8 @@ public class EntryTest {
         assertEquals(entry.getAdditionalProperties(), additionalProperties);\r
         assert (entry.toString() != null);\r
         assert (entry.hashCode() != 0);\r
-        \r
+        assert (!entry.equals(null));\r
         assert (entry.equals(entry));\r
-        \r
     }\r
     \r
 }\r