@Test
public void getProjectsForUserReturnsLobDependentProjectsWhenUserIsNoManager() {

    // given
    var userLob = "LoB Test";
    var expectedSpecification = new ProjectSpecification(EXCLUDED_STATUS, LOB_DEPENDENT_STATUS, userLob);
    var sort = Sort.unsorted();
    var expectedProjects = List.of(projectMock);
    given(userServiceMock.getUserData(userMock)).willReturn(userDataMock);
    given(userDataMock.getLob()).willReturn(userLob);
    given(projectRepoMock.findAll(expectedSpecification, sort)).willReturn(expectedProjects);
    // when
    var actualProjects = userProjectService.getProjectsForUser(userMock, sort);
    // then
    assertThat(actualProjects).isEqualTo(expectedProjects);
}