@Test
public void newFileEmptySelectedDMNPath() {

    when(scenarioSimulationKogitoCreationPopupPresenterMock.getSelectedPath()).thenReturn(null);
    when(scenarioSimulationKogitoCreationPopupPresenterMock.getSelectedType()).thenReturn(ScenarioSimulationModel.Type.DMN);
    Command command = scenarioSimulationEditorKogitoWrapperSpy.createNewFileCommand(path);
    command.execute();
    verify(scenarioSimulationKogitoCreationPopupPresenterMock, times(1)).getSelectedType();
    verify(scenarioSimulationEditorPresenterMock, times(1)).sendNotification(eq(ScenarioSimulationEditorConstants.INSTANCE.missingDmnPath()),
                                                                                                  eq(NotificationEvent.NotificationType.ERROR));
    verify(kogitoScenarioSimulationBuilderMock, never()).populateScenarioSimulationModel(any(), any(), any(), any());
}