@Test
 public void testLoadPojosAsyncWithIds() {
   List<String> dbIds = new ArrayList<String>();
   DbListener dbl;
   try {
     dbl = new DbListener();
     dbIds.add(mockRepresentationId);
     papi.loadPojosAsync(dbIds, dbl);
     assertEquals(dbl.getResult(), 1);
   } catch (Exception e) {
     fail(e.getMessage());
   }
   // wrong input
   try {
     // non-existent id
     dbl = new DbListener();
     dbIds.add(NonExistentClusterId);
     papi.loadPojosAsync(dbIds, dbl);
     fail();
   } catch (IllegalArgumentException e) {
     assert (true);
   }
   try {
     dbl = new DbListener();
     dbIds.remove(NonExistentClusterId);
     dbIds.add(AbcId); // "abc"
     papi.loadPojosAsync(dbIds, dbl);
     fail();
   } catch (IllegalArgumentException e) {
     assert (true);
   }
 }
 @Test
 public void testLoadPojosAsyncWithClass() {
   DbListener dbl;
   try {
     dbl = new DbListener();
     papi.loadPojosAsync(Revision.class, dbl);
     assertEquals(dbl.getResult(), 3);
   } catch (Exception e) {
     fail(e.getMessage());
   }
   // no wrong input
 }