sessionLocator.updateSessions(sessions);
assertNull(sessionLocator.getSessionByKey(key));
}
public void testKetamaMemcachedSessionLocator() {
sessionLocator = new KetamaMemcachedSessionLocator(
HashAlgorithm.NATIVE_HASH);
List<Session> sessions = new ArrayList<Session>();
for (int i = 8080; i < 8100; i++) {
sessions.add(new MockSession(i));
}