RememberMeCleaner { @Scheduled(cron = "0 54 2 ? * *") public void cleanUpExpiredCookies() { Instant boundary = Instant.now().minus(DEFAULT_EXPIRE_TIMEOUT); persistentLoginMapper.cleanUpExpiredCookies(boundary); }  @Scheduled(cron = "0 54 2 ? * *") void cleanUpExpiredCookies();  }
@Test public void testCleanUpExpiredCookies() { log.info("cleanUpExpiredCookies"); instance.cleanUpExpiredCookies(); }