@Test
public void testGetLong() throws Exception {

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