### Question:
CommandLineArgumentProcessor { public List<String> getTableList() { List<String> result = new ArrayList<String>(); if (cmd.hasOption(TABLE_LIST)) { String tableListStr = cmd.getOptionValue(TABLE_LIST); if (tableListStr.contains(",")) { String[] parts = tableListStr.split(","); for (String part : parts) { result.add(part); } } else { result.add(tableListStr); } } return result; } CommandLineArgumentProcessor(String[] args); String getSourceAliasName(); String getDestAliasName(); String getDestSchemaName(); String getDestCatalogName(); String getSourceCatalogName(); String getSourceSchemaName(); List<String> getTableList(); static final String SOURCE_CATALOG; static final String SOURCE_SCHEMA; static final String DEST_CATALOG; static final String DEST_SCHEMA; static final String TABLE_PATTERN; static final String TABLE_LIST; static final String DEST_SESSION; static final String SOURCE_SESSION; }### Answer:
@Test public void testGetTableList() throws ParseException { assertEquals(FIRST_TABLE, classUnderTest.getTableList().get(0)); classUnderTest = new CommandLineArgumentProcessor(twoTableArgs); assertEquals(FIRST_TABLE, classUnderTest.getTableList().get(0)); assertEquals(SECOND_TABLE, classUnderTest.getTableList().get(1)); }