@Test
public void hasPermissionToApplyToProjectReturnsTrueWhenProjectLobNull() {

    // given
    var userLob = "user-lob";
    given(projectServiceMock.projectExists(PROJECT_ID)).willReturn(true);
    given(projectServiceMock.getProjectById(PROJECT_ID)).willReturn(projectMock);
    given(projectMock.getStatus()).willReturn(LOB_DEPENDENT_STATUS);
    given(projectMock.getLob()).willReturn(null);
    given(userAccessServiceMock.userHasActiveAccessInterval(userMock)).willReturn(true);
    given(userServiceMock.getUserData(userMock)).willReturn(userDataMock);
    given(userDataMock.getLob()).willReturn(userLob);
    // when
    boolean actualHasPermission = evaluator.hasPermissionToApplyToProject(authenticationMock, userMock, PROJECT_ID);
    // then
    assertThat(actualHasPermission).isTrue();
}