source: class BagQueryRunnerTest {
  
      private ObjectStoreWriter osw;
      private ObjectStore os;
      private Map<String, Employee> eIds;
      private TestingBagQueryRunner runner;
       Map<String, List<FieldDescriptor>> classKeys;
  
      @Test
      public void testTypeConverted() throws Exception {
  
target:         String empName = "EmployeeA2";
          List input = Arrays.asList(new Object[] {empName});
          BagQueryResult res = runner.searchForBag("Manager", input, null, true);
          Assert.assertEquals(0, res.getMatches().values().size());
          Map issues = res.getIssues();
  
          Map translated = (Map) issues.get(BagQueryResult.TYPE_CONVERTED);
          Assert.assertEquals(1, translated.values().size());
          Map resUnresolved = res.getUnresolved();
          Assert.assertTrue(resUnresolved.size() == 0);
      }
  
  }