@Test
public void getContextMap() {

    // given
    var newDateTime = LocalDateTime.now();
    var formattedNewEndDateTime = newDateTime.format(MailUserAccessEventHandler.DATE_TIME_FORMATTER);
    var expectedContextMap = Map.of(
        "userData", userDataMock,
        "newDate", formattedNewEndDateTime,
        "projectBoardUrl", PROJECT_BOARD_URL
    );
    given(userServiceMock.getUserData(userMock)).willReturn(userDataMock);
    // when
    var actualContextMap = mailUserAccessEventHandler.getContextMap(userMock, newDateTime);
    // then
    assertThat(actualContextMap).isEqualTo(expectedContextMap);
}