void (TestIdentifier testIdentifier, TestExecutionResult testExecutionResult) { if (testIdentifier.isTest()) { final String className = JUnit5TestExecutionListener.getClassName(testIdentifier); final String methodName = JUnit5TestExecutionListener.getMethodName(testIdentifier); if (myJunitListener instanceof IDEAJUnitListenerEx) { ((IDEAJUnitListenerEx)myJunitListener).testFinished(className, methodName, testExecutionResult.getStatus() == TestExecutionResult.Status.SUCCESSFUL); } else { myJunitListener.testFinished(className, methodName); } } }