@Test
public void worksWithArgumentMatchers() throws Exception {
final ArrayList<String> strings = new ArrayList<String>();
final ArgumentMatcherDemo tested = mock(ArgumentMatcherDemo.class);
doReturn(strings).when(tested, "findByNamedQuery", eq("AbstractPTVTicket.ticketSeatIds"), anyList());
final List<String> stringList = tested.findByNamedQuery("something", strings);
assertTrue(stringList.isEmpty());
}