@Test
public void testHasNodeType() throws Exception {

    NodeTypeManager delegate = mock(NodeTypeManager.class);
    NodeTypeManagerFacade facade = getFacade(delegate);
    final String type = "type";
    when(delegate.hasNodeType(type)).thenReturn(true);
    assertTrue("is true", facade.hasNodeType(type));
}