@Test
public void userHasAppliedForProjectReturnsFalseWhenApplicationNotPresent() {

    // given
    given(applicationRepoMock.existsByUserAndProject(userMock, projectMock)).willReturn(false);
    // when
    boolean actualApplied = applicationService.userHasAppliedForProject(userMock, projectMock);
    // then
    assertThat(actualApplied).isFalse();
}