docs: public static Matcher<PrintableResult> hasFailureContaining(final String string) {
          return new TypeSafeMatcher<PrintableResult>() {
              @Override
              public boolean matchesSafely(PrintableResult item) {
                  return item.failureCount() > 0 && item.toString().contains(string);
              }
  
              public void describeTo(Description description) {
                  description.appendText("has failure containing " + string);
              }
          };
      }