@Test
public void testUnregisterWorkflowDef() throws Exception {

    metadataResource.unregisterWorkflowDef("test", 1);
    verify(mockMetadataService, times(1)).unregisterWorkflowDef(anyString(), any());
}