public static List<HollowSchema> parseCollectionOfSchemas(Reader reader) throws IOException {
        StreamTokenizer tokenizer = new StreamTokenizer(reader);
        configureTokenizer(tokenizer);
        List<HollowSchema> schemaList = new ArrayList<HollowSchema>();

        HollowSchema schema = parseSchema(tokenizer);
        while (schema != null) {
            schemaList.add(schema);
            schema = parseSchema(tokenizer);
        }

        return schemaList;
    }
@Test
    public void parsesManySchemas() throws IOException {
        String manySchemas =
                "/* This is a comment\n" +
                        "   consisting of multiple lines */\n" +
                        " TypeA {\n" +
                        "    int a1;\n" +
                        "    \tstring a2; //This is a comment\n" +
                        "    String a3;\n" +
                        "}\n\n"+
                        "MapOfStringToTypeA Map<String, TypeA>;\n"+
                        "ListOfTypeA List<TypeA>;\n"+
                        "TypeB { float b1; double b2; boolean b3; }";


        List<HollowSchema> schemas = HollowSchemaParser.parseCollectionOfSchemas(manySchemas);

        Assert.assertEquals(4, schemas.size());
    }