@Test
public void testObjectWrongType() throws Exception {

    String ceoName = "Tatjana Berkel";
    List<String> input = Arrays.asList(ceoName);
    BagQueryResult res = runner.searchForBag("Contractor", input, null, true);
    Assert.assertEquals(0, res.getMatches().values().size());
    Collection<String> resUnresolved = res.getUnresolvedIdentifiers();
    Assert.assertEquals(1, resUnresolved.size());
    Assert.assertTrue(resUnresolved.contains(ceoName));
    Assert.assertEquals(ceoName, resUnresolved.iterator().next());
}