DatastoreManager extends ManagerBase implements StoreManager { @Override public void remove(Session session) { this.removeSuper(session); try { store.remove(session.getId()); } catch (IOException e) { log.error("An error occurred while removing session with id: " + session.getId(), e); } }  @Override Session findSession(String id); @Override void load(); @Override void unload(); @Override void removeSuper(Session session); @Override void remove(Session session); @Override int getActiveSessionsFull(); @Override Set<String> getSessionIdsFull(); @Override void processExpires(); Store getStore(); void setStore(Store store);  }
@Test public void testRemoteSessionRemoval() throws IOException { manager.remove(session); verify(store).remove("123"); }