@Test
public void hasAccessToProjectReturnsTrueWhenStatusIsLobDependentAndLobIsNullAndUserHasAccess() {

    // given
    given(projectServiceMock.projectExists(PROJECT_ID)).willReturn(true);
    given(projectServiceMock.getProjectById(PROJECT_ID)).willReturn(projectMock);
    given(projectMock.getStatus()).willReturn(LOB_DEPENDENT_STATUS.toUpperCase());
    given(projectMock.getLob()).willReturn(null);
    given(userServiceMock.getUserData(userMock)).willReturn(userDataMock);
    given(userDataMock.getLob()).willReturn("Anything");
    given(userAccessServiceMock.userHasActiveAccessInterval(userMock)).willReturn(true);
    // when
    boolean actualHasAccess = evaluator.hasAccessToProject(authenticationMock, userMock, PROJECT_ID);
    // then
    assertThat(actualHasAccess).isTrue();
}