@Test
public void testIsSame() throws Exception {

    Item delegate = mock(Item.class);
    Item otherItem = mock(Item.class);
    when(delegate.isSame(delegate)).thenReturn(true);
    when(delegate.isSame(otherItem)).thenReturn(false);
    ItemFacade<Item, Session> facade = getFacade(delegate);
    ItemFacade<Item, Session> self = getFacade(delegate);
    ItemFacade<Item, Session> otherFacade = getFacade(otherItem);
    assertTrue("same facade", facade.isSame(facade));
    assertTrue("same as self", facade.isSame(self));
    assertFalse("not same as other", facade.isSame(otherFacade));
}