More sonar fixes in models
[policy/models.git] / models-interactions / model-impl / vfc / src / test / java / org / onap / policy / vfc / DemoTest.java
index 1c530c7..f66e9ec 100644 (file)
@@ -2,7 +2,7 @@
  * ============LICENSE_START=======================================================
  * Copyright (C) 2017-2019 Intel Corp. All rights reserved.
  * Modifications Copyright (C) 2019 Nordix Foundation.
- * Modifications Copyright (C) 2018-2019 AT&T Corporation. All rights reserved.
+ * Modifications Copyright (C) 2018-2020 AT&T Corporation. All rights reserved.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -20,6 +20,8 @@
 
 package org.onap.policy.vfc;
 
+import static org.junit.Assert.assertNotNull;
+
 import java.util.LinkedList;
 import org.junit.Test;
 import org.onap.policy.vfc.util.Serialization;
@@ -80,5 +82,6 @@ public class DemoTest {
         body = Serialization.gsonPretty.toJson(response);
         logger.info("{}", body);
 
+        assertNotNull(body);
     }
 }