@Test
public void shouldGetNodeTypesForRepository() throws Exception {

    NodeTypes nodeTypes = REST_CLIENT.getNodeTypes();
    assertFalse(nodeTypes.isEmpty());
    assertNotNull(nodeTypes.getNodeType("nt:base"));
    assertNotNull(nodeTypes.getNodeType("nt:unstructured"));
    assertNull(nodeTypes.getNodeType("foobar"));
}