public class TestSchemaAnonymousCollection {
@Test
public void testSchemaValid1() throws ParseException {
String strSch = "c1:collection(f1:int, f2:int), c2:collection(collection(record(f3:float, f4)))";
TableSchemaParser parser;
Schema schema;
parser = new TableSchemaParser(new StringReader(strSch));
schema = parser.RecordSchema(null);
System.out.println(schema);
// test 1st level schema;
ColumnSchema f1 = schema.getColumn(0);
Assert.assertEquals("c1", f1.getName());