I think I miss the syntax at "thenReturn" part. What should I wrote for the source code?

here's the source code:
@Test
public void testGetUserByEmail() {
String email = "mail";
when(storeService.search(Mockito.anyString())).thenReturn(Mockito.any(Store.class));
ModelAndView mav = storeController.search(email);
Assert.assertEquals("userDetail", mav.getViewName());
}
here's the service:
public List<Store> listAllStore(){
logger.info("Before add repository to show all");
List<Store> all_stores=(List<Store>) storeRepo.findAll();
logger.info("After add repository to show all");
logger.info(all_stores);
return all_stores;
}