@Test
public void should_get_GBV_search_result() throws Exception {

    List<Long> list = new ArrayList<>();
    User user = new User();
    user.setRole(User.ROLE_GBV);
    when(PrimeroAppConfiguration.getCurrentUser()).thenReturn(user);
    when(caseService.getGBVSearchResult(anyString(),anyString(),anyString(),any()))
            .thenReturn(list);
    assertThat("Should return GBV search list", caseSearchPresenter.getSearchResult(Collections.emptyMap()),
            is(list));
    verify(caseService, times(1)).getGBVSearchResult(anyString(),anyString(),anyString(),any());
}