@Test
public void getProjectsForUserPaginatedReturnsLobDependentProjectsWhenUserIsNoManager() {

    // given
    var userLob = "LoB Test1234";
    var pageable = PageRequest.of(0, 100);
    var expectedStatusSpecification = new ProjectSpecification(EXCLUDED_STATUS, LOB_DEPENDENT_STATUS, userLob);
    var expectedProjects = List.of(projectMock);
    var expectedPage = new PageImpl<>(expectedProjects);
    given(userServiceMock.getUserData(userMock)).willReturn(userDataMock);
    given(userDataMock.getLob()).willReturn(userLob);
    given(projectRepoMock.findAll(expectedStatusSpecification, pageable)).willReturn(expectedPage);
    // when
    var actualPage = userProjectService.getProjectsForUserPaginated(userMock, pageable);
    // then
    assertThat(actualPage).isEqualTo(expectedPage);
}