@Test
public void testToJcrNsList() {

    List<JcrNs> fromCnd = JsonCnd.toJcrNsList(getMapping(), new NamespaceMappingRequest.Builder()
            .withRetainPrefix(NS_BAR_PREFIX)
            .withRetainPrefix(NS_FOO_PREFIX)
            .build());
    assertEquals("ns meet ns", ns, fromCnd);
}