@Test
public void testGetLength() throws Exception {

    Property delegate = mock(Property.class);
    PropertyFacade<Session> facade = getFacade(delegate);
    final long value = 7L;
    when(delegate.getLength()).thenReturn(value);
    assertEquals("same length", value, facade.getLength());
}