Add unit test for vfc-nfvo-wfengine
[vfc/nfvo/wfengine.git] / wfenginemgrservice / src / test / java / org / onap / workflow / resources / WorkflowInstanceWrapperTest.java
index 205785b..0d08427 100644 (file)
@@ -13,7 +13,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.onap.workflow.resources;
 
 import static org.powermock.api.mockito.PowerMockito.mock;
@@ -58,14 +57,9 @@ public class WorkflowInstanceWrapperTest {
   @After
   public void tearDown() throws Exception {}
 
-  @Test
-  public final void testGetInstance() {
-    // fail("Not yet implemented"); // TODO
-  }
-
   @Test
   public final void testDeployBpmnFile() throws Exception {
-    
+
     InputStream fileInputStream = mock(InputStream.class);
     FormDataContentDisposition f = mock(FormDataContentDisposition.class);
     String filename = "test";
@@ -80,8 +74,8 @@ public class WorkflowInstanceWrapperTest {
   }
 
   @Test
-  public final void testUndeployBpmnFile() {
-
+  public final void testUndeployBpmnFile() throws Exception {
+    WorkflowInstanceWrapper.getInstance().undeployBpmnFile(null);
   }
 
   @Test