@Test
public void testGetSecondsRemaining() throws Exception {

    Lock delegate = mock(Lock.class);
    LockFacade<Session> facade = getFacade(delegate);
    final long value = 42L;
    when(delegate.getSecondsRemaining()).thenReturn(value);
    assertSame("same value", value, facade.getSecondsRemaining());
}