code: public static Matcher<String> containsPatterns(String... patterns) {
          List<Matcher<? super String>> matchers = new ArrayList<Matcher<? super String>>();
          for (String pattern : patterns) {
              matchers.add(pattern(pattern));
          }
          return allOf(matchers);
      }
docs: Equivalent of {@code allOf(pattern(...), ...)} matcher combination
  @see org.hamcrest.Matchers#allOf(Iterable)
  @see Matchers#pattern(String)
  @param patterns all the patterns to match against
  @return the matcher