docs: public static void assertMixinNodeType(final Node node, final String mixinType) throws RepositoryException {
          for (final NodeType nt : node.getMixinNodeTypes()) {
              if (mixinType.equals(nt.getName())) {
                  return;
              }
          }
          fail("Node " + node.getPath() + " has no mixin type " + mixinType);
      }