@Test
public void onAccessChangedQueuesNoMessageWhenOldEndIsEqualToNewEnd() {

    // given
    var newAndOldEndTime = LocalDateTime.of(2019, 1, 3, 10, 0);
    given(accessIntervalMock.getEndTime()).willReturn(newAndOldEndTime);
    // when
    mailUserAccessEventHandler.onAccessChanged(userMock, accessIntervalMock, newAndOldEndTime);
    // then
    verifyZeroInteractions(mailSenderAdapterMock);
}