code: public static Matcher allOf(final Matcher... matchers) {
      return new Matcher() {
        @Override public boolean matches(Node node, NodeMetadata metadata) {
          for (Matcher m : matchers) {
            if (!m.matches(node, metadata)) {
              return false;
            }
          }
          return true;
        }
      };
    }
docs: Returns a Matcher that returns true only if all of the provided
  matchers match.