diff options
Diffstat (limited to 'asdctool/src/test/java/org')
-rw-r--r-- | asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/ProductLogicTest.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/ProductLogicTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/ProductLogicTest.java index 08de0eb951..982c85b060 100644 --- a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/ProductLogicTest.java +++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/ProductLogicTest.java @@ -1,5 +1,6 @@ package org.openecomp.sdc.asdctool.impl; +import static org.junit.Assert.assertFalse; import org.junit.Test; public class ProductLogicTest { @@ -8,7 +9,7 @@ public class ProductLogicTest { return new ProductLogic(); } - @Test(expected=NullPointerException.class) + @Test public void testDeleteAllProducts() throws Exception { ProductLogic testSubject; String titanFile = ""; @@ -20,5 +21,6 @@ public class ProductLogicTest { // default test testSubject = createTestSubject(); result = testSubject.deleteAllProducts(titanFile, beHost, bePort, adminUser); + assertFalse(result); } -}
\ No newline at end of file +} |