@Override public void testAssertionVerified(Assertion assertion, TestResult testResult) { if (testResult != null && testResult.doesCount() && (testResult.getExecutionResult() == ExecutionResult.FAIL || testResult.getExecutionResult() == ExecutionResult.ERROR)) { firstFailure(testResult.getExecutionResult(), createMessage(testResult)); } }