@Test
public void searchProjectsForUserPaginatedSearchesInLobDependentProjectsWhenUserIsNoManager() {

    // given
    var expectedQuery = "a cool query";
    var expectedLob = "LOB Test";
    var expectedPageable = PageRequest.of(1, 4);
    given(userServiceMock.getUserData(userMock)).willReturn(userDataMock);
    given(userDataMock.getLob()).willReturn(expectedLob);
    given(staffHibernateSearchServiceMock.searchProjects(expectedQuery, expectedPageable, expectedLob))
            .willReturn(new PageImpl<>(List.of(projectMock)));
    // when
    var actualProjectPage = userProjectService.searchProjectsForUserPaginated(expectedQuery, userMock, expectedPageable);
    // then
    assertThat(actualProjectPage).containsExactly(projectMock);
}