TestComparisonFailedState ( @Nullable final String localizedMessage, @Nullable final String stackTrace, @NotNull final String actualText, @NotNull final String expectedText, @Nullable final String actualFilePath, @Nullable final String expectedFilePath, boolean printExpectedAndActualValues ) { setStacktraceIfNotSet(stackTrace); myErrorMessage = localizedMessage; final TestComparisonFailedState comparisonFailedState = new TestComparisonFailedState( localizedMessage, stackTrace, actualText, expectedText, printExpectedAndActualValues, expectedFilePath, actualFilePath ); DiffHyperlink hyperlink = comparisonFailedState.getHyperlink(); hyperlink.setTestProxy(this); updateFailedState(comparisonFailedState); fireOnNewPrintable(comparisonFailedState); return comparisonFailedState; }