@Test public void test_scan_context() throws Exception { Date now = new Date(); IssueChangeContext context = IssueChangeContext.createScan(now); assertThat(context.scan()).isTrue(); assertThat(context.login()).isNull(); assertThat(context.date()).isEqualTo(now); }