void checkIfEqual(PhysicalSourceConfig p1, PhysicalSourceConfig p2) {
   Assert.assertNotNull(p1);
   Assert.assertNotNull(p2);
   String p1String = p1.toString();
   String p2String = p2.toString();
   Assert.assertEquals(p1String, p2String);
 }
 PhysicalSourceConfig createPhysicalSourceConfig(
     String pSourceName, int startLogicalId, int numSources) {
   PhysicalSourceConfig pconfig = new PhysicalSourceConfig();
   pconfig.setName(pSourceName);
   pconfig.setUri("http://" + pSourceName);
   ArrayList<LogicalSourceConfig> newSources = new ArrayList<LogicalSourceConfig>();
   for (int i = 0; i < numSources; ++i) {
     short lid = (short) (i + startLogicalId);
     LogicalSourceConfig tab = new LogicalSourceConfig();
     tab.setName("ls" + lid);
     tab.setId(lid);
     tab.setUri("tab_" + lid);
     newSources.add(tab);
   }
   pconfig.setSources(newSources);
   return pconfig;
 }