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 testParseCollectionOfSchemas_reader() throws Exception {
        InputStream input = null;
        try {
            input = getClass().getResourceAsStream("/schema1.txt");
            List<HollowSchema> schemas =
                    HollowSchemaParser.parseCollectionOfSchemas(new BufferedReader(new InputStreamReader(input)));
            Assert.assertEquals("Should have two schemas", 2, schemas.size());
            Assert.assertEquals("Should have Minion schema", "Minion", schemas.get(0).getName());
            Assert.assertEquals("Should have String schema", "String", schemas.get(1).getName());
        } finally {
            if (input != null) {
                input.close();
            }
        }
    }