void (@Nullable final String localizedMessage, @Nullable final String stackTrace, @NotNull final String actualText, @NotNull final String expectedText, @NotNull final TestFailedEvent event) { TestComparisonFailedState comparisonFailedState = setTestComparisonFailed( localizedMessage, stackTrace, actualText, expectedText, event.getActualFilePath(), event.getExpectedFilePath(), event.shouldPrintExpectedAndActualValues() ); comparisonFailedState.setToDeleteExpectedFile(event.isExpectedFileTemp()); comparisonFailedState.setToDeleteActualFile(event.isActualFileTemp()); }