integration-tests/src/test/java/com/kdgregory/aws/utils/KinesisIntegrationTest.java
/**
     *  Extracts the string values from one or more lists of records (used to
     *  combine records from multi-read tests, as well as for single-read tests).
     */
Extracts the string values from one or more lists of records (used to
combine records from multi-read tests, as well as for single-read tests).
Extracts the string values from one or more lists of records ( used to combine records from multi - read tests as well as for single - read tests ) .
private static List<String> extractText(List<Record>... batches)
    throws Exception
    {
        List<String> result = new ArrayList<String>();
        for (List<Record> batch : batches)
        {
            for (Record record : batch)
            {
                result.add(new String(BinaryUtils.copyBytesFrom(record.getData()), "UTF-8"));
            }
        }
        return result;
    }
private static List < String > extractText ( List < Record > ... batches ) throws Exception { List < String > result = new ArrayList < String > ( ) ; for ( List < Record > batch : batches ) { for ( Record record : batch ) { result . add ( new String ( BinaryUtils . copyBytesFrom ( record . getData ( ) ) , "UTF-8" ) ) ; } } return result ; }
Extracts the string values from one or more lists of records (used to
  combine records from multi-read tests, as well as for single-read tests).
Extracts the string values from one or more lists of records ( used to combine records from multi - read tests as well as for single - read tests ) .