added assert statements in 7 test files
[ccsdk/sli/adaptors.git] / mdsal-resource / provider / src / test / java / org / onap / ccsdk / sli / adaptors / resource / mdsal / TestOperationalResource.java
index f5725e9..2e9798d 100644 (file)
@@ -5,6 +5,7 @@ import static org.mockito.Mockito.mock;
 import org.onap.ccsdk.sli.core.sli.SvcLogicContext;
 
 import junit.framework.TestCase;
+import static org.junit.Assert.assertNotNull;
 
 public class TestOperationalResource extends TestCase {
 
@@ -25,5 +26,6 @@ public class TestOperationalResource extends TestCase {
                res.isAvailable("my-resource", "mykey", "pfx", ctx);
                res.save("resource", false, false, null, null, null, ctx);
                res.update("my-resource", "mykey", null, "pfx", ctx);
+               assertNotNull(restService);
        }
 }