DatastoreStore extends StoreBase { @Override public void remove(String id) { log.debug("Removing session: " + id); datastore.delete(newKey(id)); }  @Override int getSize(); @Override String[] keys(); @Override Session load(String id); @Override void remove(String id); @Override void clear(); @Override void save(Session session); @Override void processExpires(); void setNamespace(String namespace); void setSessionKind(String sessionKind); void setTraceRequest(boolean traceRequest);  }
@Test public void testSessionRemoval() throws Exception { store.remove(keyId); verify(datastore).delete(any(Key.class)); }