fail(e.getMessage());
fail("unexpected exception", e);
	public void testNotOpen() {		String permanentFile = "testNotOpen.txt";		String scratchFile = "testNotOpenScratch";		manager1 = new FileManager(base, null);		// create a permanent file and a managed scratch file		try {			manager1.open(true);			manager1.add(permanentFile);			File tmpFile = manager1.createTempFile(permanentFile);			this.writeToFile(tmpFile, "File exists");			manager1.update(new String[] {permanentFile}, new String[] {tmpFile.getName()});			manager1.add(scratchFile);		} catch(IOException e) {			fail(e.getMessage());		}				// create a new manager, and try making calls		manager2 = new FileManager(base, null);		checkOpen(false, permanentFile, scratchFile);		// open the manager, try again		try {			manager2.open(true);		} catch(IOException e) {			fail(e.getMessage());		}		checkOpen(true, permanentFile, scratchFile);		// close manager, try again		manager2.close();		checkOpen(false, permanentFile, scratchFile);		manager2 = null;				manager1.close();		manager1 = null;	}