@Test
public void testGetDefinition() throws Exception {

    Property delegate = mock(Property.class);
    PropertyFacade<Session> facade = getFacade(delegate);
    final PropertyDefinition value = mock(PropertyDefinition.class);
    when(delegate.getDefinition()).thenReturn(value);
    assertSame("same value", value, facade.getDefinition());
}