@Test
public void call_idle() {

    // prepare
    IdleEvent event = mock(IdleEvent.class);
    IdleStatus status = IdleStatus.READ_IDLE;
    when(event.getIdleStatus()).thenReturn(status);
    when(event.getSession()).thenReturn(session);
    // run
    caller.visit(event);
    // verify
    verify(event).getSession();
    verify(event).getIdleStatus();
    verify(session).getService();
    verify(service).getIoHandler();
    verify(handler).sessionIdle(session, status);
    verifyNoMoreInteractions(session, event, handler);
}