Checklist implements JsonObjectConvertible { public List<JcrNs> getJcrNamespaces() { return jcrNamespaces; } Checklist(final @Nullable JsonObject originalJson,
              final @Nullable String moduleName,
              final @Nullable String name,
              final @NotNull List<URL> cndUrls,
              final @NotNull List<JcrNs> jcrNamespaces,
              final @NotNull List<QNodeTypeDefinition> jcrNodetypes,
              final @NotNull List<PrivilegeDefinition> jcrPrivileges,
              final @NotNull List<ForcedRoot> forcedRoots,
              final @NotNull List<CheckSpec.ImmutableSpec> checks,
              final @NotNull List<String> repoInits); @NotNull static Checklist.JsonKeys keys(); static Comparator<T> comparingJsonKeys(final @NotNull Function<T, String> jsonKeyExtractor); String getModuleName(); String getName(); List<URL> getCndUrls(); List<QNodeTypeDefinition> getJcrNodetypes(); List<JcrNs> getJcrNamespaces(); List<String> getJcrPrivilegeNames(); List<PrivilegeDefinition> getJcrPrivileges(); List<ForcedRoot> getForcedRoots(); List<CheckSpec> getChecks(); List<String> getRepoInits(); InitStage asInitStage(); @Override String toString(); @Override JsonObject toJson(); static Checklist fromJson(final @NotNull String moduleName,
                                     final @Nullable URL manifestUrl,
                                     final @NotNull JsonObject json);  }
@Test public void testBuilderWithNamespaces() { final List<JcrNs> jcrNamespaces = Arrays.asList( JcrNs.create("foo", "http: JcrNs.create("bar", "http: Checklist.Builder builderWithJcrNamespaces = new Checklist.Builder("test"); builderWithJcrNamespaces.withJcrNamespaces(jcrNamespaces); assertEquals("jcr namespaces pass thru", jcrNamespaces, builderWithJcrNamespaces.build().getJcrNamespaces()); }