@Test
public void testWildcards() throws Exception {

    List<String> input = Arrays.asList("EmployeeA*", "EmployeeB3");
    BagQueryResult res = runner.searchForBag("Employee", input, null, true);
    Set<Integer> ids = new HashSet<Integer>(Arrays.asList(eIds.get("EmployeeA3").getId(), eIds.get("EmployeeA2").getId(), eIds.get("EmployeeA1").getId()));
    Assert.assertEquals(ids, new HashSet(res.getIssues().get(BagQueryResult.WILDCARD).get("searching key fields").get("EmployeeA*")));
}