Upgrade and clean up dependencies
[policy/apex-pdp.git] / services / services-engine / src / test / java / org / onap / policy / apex / service / engine / event / JsonEventHandlerTest.java
index dd7acdd..a724b6d 100644 (file)
@@ -1,7 +1,7 @@
 /*-
  * ============LICENSE_START=======================================================
  *  Copyright (C) 2016-2018 Ericsson. All rights reserved.
- *  Modifications Copyright (C) 2020 Nordix Foundation.
+ *  Modifications Copyright (C) 2020,2023 Nordix Foundation.
  *  Modifications Copyright (C) 2022 Bell Canada. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -136,6 +136,7 @@ public class JsonEventHandlerTest {
      *
      * @throws ApexException the apex exception
      */
+    @SuppressWarnings("deprecation")
     @Test
     public void testJsontoApexBadEvent() throws ApexException {
         final Apex2JsonEventConverter jsonEventConverter = new Apex2JsonEventConverter();
@@ -268,4 +269,4 @@ public class JsonEventHandlerTest {
         assertTrue(apexEvent0000JsonString.contains("\"intPar\": 12345"));
         assertTrue(apexEvent0000JsonString.contains("\"toscaPolicyState\": \"ENTRY\""));
     }
-}
\ No newline at end of file
+}