@Ignore // not platform independent
@Test(expected = IOException.class)
public void test_validateDirectory_CanNotCreate() throws IOException {

    File canNotCreate = File.createTempFile(getClass().getSimpleName(), "test", new File("/"));
    try {
        MongoSchemaFileStore.validateDirectory(canNotCreate);
    } finally {
        canNotCreate.delete();
    }
}