InMemoryUserSessionServiceImpl implements UserSessionService { public void setCleanUpSeconds(int cleanUpSeconds) { this.cleanUpSeconds = cleanUpSeconds; } InMemoryUserSessionServiceImpl(); void setCleanUpSeconds(int cleanUpSeconds); @Override User getUserData(String sessionId); @Override void registerNewSession(String sessionId, UserSession session); @Override String registerNewSession(UserSession session); @Override void removeSession(String sessionId); @Override void removeAllSessions(); boolean isOwner(String sessionId, Object owner); @Override UserSession refreshSession(String sessionId, String refreshToken); @Override String getRefreshToken(String sessionId);  }
@Test public void testInitialization() { InMemoryUserSessionServiceImpl service = new InMemoryUserSessionServiceImpl(); service.setCleanUpSeconds(500); assertTrue(true); }