@Test
public void testBuilderWithNamespaces() {

    final List<JcrNs> jcrNamespaces = Arrays.asList(
            JcrNs.create("foo", "http://foo.com"),
            JcrNs.create("bar", "http://bar.com"));
    Checklist.Builder builderWithJcrNamespaces = new Checklist.Builder("test");
    builderWithJcrNamespaces.withJcrNamespaces(jcrNamespaces);
    assertEquals("jcr namespaces pass thru",
            jcrNamespaces, builderWithJcrNamespaces.build().getJcrNamespaces());
}