@Test
public void testToJson() {

    JsonObject expect = key(KEYS.prefix(), prefix).key(KEYS.uri(), uri).get();
    JcrNs complete = JcrNs.create(prefix, uri);
    assertEquals("expect json", expect, complete.toJson());
}