@Test
public void getTemplatePathAccessChangedReturnsPathForExtendedWhenNewAfterOld() {

    // given
    var expectedTemplatePath = "/templates/mail/UserAccessExtended.vm";
    var oldEndTime = LocalDateTime.of(2019, 2, 3, 10, 0);
    var newEndTime = oldEndTime.plus(1L, ChronoUnit.HOURS);
    // when
    var actualTemplatePath = mailUserAccessEventHandler.getTemplatePathAccessChanged(newEndTime, oldEndTime);
    // then
    assertThat(actualTemplatePath).isEqualTo(expectedTemplatePath);
}