(InvocationOnMock invocation)
| 1452 | // capture the scanner fields when set |
| 1453 | doAnswer(new Answer<Object>() { |
| 1454 | @Override |
| 1455 | public Object answer(InvocationOnMock invocation) throws Throwable { |
| 1456 | final Object[] args = invocation.getArguments(); |
| 1457 | filter = new KeyRegexpFilter((String)args[0], Const.ASCII_CHARSET); |
| 1458 | return null; |
| 1459 | } |
| 1460 | }).when(mock_scanner).setKeyRegexp(anyString()); |
| 1461 | |
| 1462 | doAnswer(new Answer<Object>() { |
nothing calls this directly
no test coverage detected