Can anyone please share any example about how to mock QueryBuilder, query, search result, ResultSet with any example.
I tried searching in google but couldn't find much examples.
I've the same requirement. Were you able to achieve this? If yes, could you please help me with some sample code?