@Test
public void testGetPrimaryNodeType() throws Exception {

    Node delegate = mock(Node.class);
    NodeFacade<Node, Session> facade = getFacade(delegate);
    final NodeType value = mock(NodeType.class);
    when(delegate.getPrimaryNodeType()).thenReturn(value);
    assertSame("same value", value, facade.getPrimaryNodeType());
}