@Test
public void testSessionDeletedIn2Minutes() {

  session = new SessionData("1", 100, 70);
  expiration.sessionDeleted(session);
  ArgumentCaptor<byte[]> captureExpireKey = ArgumentCaptor.forClass(byte[].class);
  ArgumentCaptor<byte[]> captureSessionKey = ArgumentCaptor.forClass(byte[].class);
  verify(redis).srem(captureExpireKey.capture(), captureSessionKey.capture());
  assertEquals("prefixexpirations:120000", SafeEncoder.encode(captureExpireKey.getValue()));
}