public void testExportLDIF()
throws Exception
{
File tempFile = File.createTempFile("schema", "testExportLDIF");
tempFile.deleteOnExit();
LDIFExportConfig exportConfig =
new LDIFExportConfig(tempFile.getAbsolutePath(),
ExistingFileBehavior.OVERWRITE);
schemaBackend.exportLDIF(exportConfig);
assertTrue(tempFile.exists());