public void export(String resolverPath, String inputPath, File outputDir) throws IOException
  {
    List<DataSchema> dataSchemas = parseDataSchema(resolverPath, inputPath);
    for (DataSchema dataSchema : dataSchemas)
    {
      writeSnapshotFile(outputDir, ((NamedDataSchema) dataSchema).getFullName(), dataSchema);
    }
  }
@Test
  public void testExportSnapshot() throws Exception
  {
    String[] expectedFiles = new String[]
        {
            "BirthInfo.pdl",
            "FullName.pdl",
            "Date.pdl"
        };
    String inputDir =  pegasusDir + "com/linkedin/restli/tools/pegasusSchemaSnapshotTest";
    PegasusSchemaSnapshotExporter exporter = new PegasusSchemaSnapshotExporter();
    exporter.export(pegasusDir, inputDir, outDir);

    Assert.assertEquals(outDir.list().length, expectedFiles.length);

    for (String file : expectedFiles)
    {
      String actualFile = outDir + FS + file;
      String expectedFile = snapshotDir + FS + file;

      ExporterTestUtils.comparePegasusSchemaSnapshotFiles(actualFile, expectedFile);
    }
  }