@Test
public void testGetDefinition() throws Exception {

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