@Test
public void equalsReturnsFalseForDifferentId() {

    // given
    long applicationId = 1;
    long otherApplicationId = 2;
    var userId = "user";
    var comment = "This is a comment!";
    var date = LocalDateTime.now();
    given(userMock.getId()).willReturn(userId);
    var application = new ProjectApplication(projectMock, comment, userMock, date);
    application.id = applicationId;
    var otherApplication = new ProjectApplication(projectMock, comment, userMock, date);
    otherApplication.id = otherApplicationId;
    // when
    boolean actualEquals = application.equals(otherApplication);
    // then
    assertThat(actualEquals).isFalse();
}