### Question:
CsvInspector { public List<String> getColumnData( int columnNumber, String[][] data ) { List<String> dataSample = new ArrayList<String>( data.length ); for ( String[] row : data ) { dataSample.add( row[ columnNumber ] ); } return dataSample; }  int determineFileFormat( String line ); List<String> getColumnData( int columnNumber, String[][] data ); String guessDelimiter( String line );  }### Answer:
@Test public void testGetColumnData() { CsvInspector inspector = new CsvInspector(); String[][] lines = new String[][] { { "1", "2", "3" }, { "5", "6", "7" } }; List<String> column = inspector.getColumnData( 1, lines ); assertEquals( "2", column.get( 0 ) ); assertEquals( "6", column.get( 1 ) ); }