package org.onap.appc.data.services.db;
import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNull;
import java.io.IOException;
import org.apache.commons.io.IOUtils;
}
+ @Test
+ public void testGetCapability() throws Exception {
+ SvcLogicContext ctx = new SvcLogicContext();
+ ctx.setAttribute("vnf-type", "test");
+ ctx.setAttribute("artifactName", "template001");
+ ctx.setAttribute("maxInternalVersion", "1234");
+ MockDGGeneralDBService dbService = MockDGGeneralDBService.initialise();
+ String status = dbService.getCapability(ctx, "test");
+ assertNull(status);
+
+ }
+
@Test
public void testCleanContextPropertyByPrefix()
{