@Test
public void testGetNodeType() throws Exception {

    NodeTypeManager delegate = mock(NodeTypeManager.class);
    NodeTypeManagerFacade facade = getFacade(delegate);
    final String type = "type";
    final NodeType value = mock(NodeType.class);
    when(delegate.getNodeType(type)).thenReturn(value);
    assertSame("same value", value, facade.getNodeType(type));
}