@Test
public void testOnClose() {

    presenter.init(PlaceRequest.NOWHERE);
    DataSetEditorWorkflow currentWorkflow = presenter.currentWorkflow;
    presenter.onClose();
    verify(workflowFactory).dispose(currentWorkflow);
    assertNull("current workflow null", presenter.currentWorkflow);
}