@Test
public void testBuilder_withJcrNamespaces() {

    final JcrNs ns1 = JcrNs.create("foo", "http://foo.com");
    final JcrNs ns2 = JcrNs.create("bar", "http://bar.com");
    assertEquals("urls should be", Arrays.asList(ns1, ns2), builder()
            .withJcrNamespaces(Arrays.asList(ns1, ns2)).build().getJcrNamespaces());
}