@Test
public void testLoggerNameV2_2()
throws InvocationTargetException,NoSuchMethodException,IllegalAccessException
{

  // They are of same db, but may have different
  String source1 = "com.linkedin.events.db.dbPrefix1.tableName1";
  String source2 = "com.linkedin.events.db.dbPrefix2.tableName2";
  List<String> ls = new ArrayList<String>();
  ls.add(source1);
  ls.add(source2);
  List<DatabusSubscription> ds = DatabusSubscription.createSubscriptionList(ls);
  DatabusSourcesConnection dsc = DatabusSourcesConnection.createDatabusSourcesConnectionForTesting();
  String partName = DatabusSubscription.getPrettyNameForListOfSubscriptions(ds);
  Assert.assertEquals(partName, "dbPrefix1_tableName1_dbPrefix2_tableName2");
  Class<?>[] arg1 = new Class<?>[] {List.class, String.class};
  Method constructPrettyNameForLogging = DatabusSourcesConnection.class.getDeclaredMethod("constructPrettyNameForLogging", arg1);
  constructPrettyNameForLogging.setAccessible(true);
  Object prettyName = constructPrettyNameForLogging.invoke(dsc, ds, "test_1234");
  Assert.assertEquals(prettyName, "dbPrefix1_tableName1_dbPrefix2_tableName2_test_1234");
}