@Test
public void testHoldsLock() throws Exception {

    LockManager delegate = mock(LockManager.class);
    LockManagerFacade<Session> facade = getFacade(delegate);
    final String path = "/correct/path";
    when(delegate.holdsLock(path)).thenReturn(true);
    assertTrue("is true", facade.holdsLock(path));
}