@Test
public void testWorkflowDeleteVersionMissing() {

    expectedException.expect(NullPointerException.class);
    expectedException.expectMessage("Version cannot be null");
    metadataClient.unregisterWorkflowDef("hello", null);
}