@Test
public void cache() throws Exception {
// intentionally use a non-canonical cache path to ensure these handled correctly
File cacheDirectory = new File(DataUtilities.urlToFile(AppSchemaConfigurationTest.class
.getResource("/test-data/cache")), "../cache");
SchemaResolver resolver = new SchemaResolver(
new SchemaCache(cacheDirectory, false));
Configuration configuration = new AppSchemaConfiguration(
"http://schemas.example.org/cache-test",
"http://schemas.example.org/cache-test/cache-test.xsd", resolver);
SchemaIndex schemaIndex = null;