@Test(expected = AssertionError.class)
public void testOpenCreateReadonly() throws Exception {
Assert.assertNotNull(pathNew);
Assert.assertFalse(pathNew.exists());
final ISqlJetFile f = fileSystem.open(pathNew, SqlJetFileType.MAIN_DB, PERM_CREATE_READONLY );
f.close();
Assert.fail("File shouldn't be opened with permissions CREATE and READONLY");
}