private static void verifyBuildSuitableForMutationTesting(final CoverageData coverage) { if (!coverage.allTestsGreen()) { LOG.severe("Tests failing without mutation: " + StringUtil.newLine() + coverage.getFailingTestDescriptions().stream().map(test -> test.toString()) .collect(Collectors.joining(StringUtil.newLine()))); throw new PitHelpError(Help.FAILING_TESTS, coverage.getCountFailedTests()); } }