@Test
public void searchProjectsForUserSearchesInLobDependentProjectsWhenUserIsNoManager() {

    // given
    var expectedQuery = "a cool query";
    var expectedLob = "LOB Test";
    given(userServiceMock.getUserData(userMock)).willReturn(userDataMock);
    given(userDataMock.getLob()).willReturn(expectedLob);
    given(staffHibernateSearchServiceMock.searchProjects(expectedQuery, expectedLob)).willReturn(List.of(projectMock));
    // when
    var actualProjects = userProjectService.searchProjectsForUser(userMock, expectedQuery, Sort.unsorted());
    // then
    assertThat(actualProjects).containsExactly(projectMock);
}