@Test
public void ifURISyntaxExceptionIsThrownDoesNotDumpActions() throws IOException {

    RecordCommand recordCommand = new RecordCommand(
            outputFile,
            screen,
            promptUtils,
            () -> {
                throw new URISyntaxException("", "");
            },
            virtualScreenProcessCreator,
            () -> stepsDumper
    );
    recordCommand.run();
    verify(stepsDumper, never()).dump(testScenarioSteps, outputFile);
}