@Test
	public void testDeleteProject() throws Exception {

		// how to tell whether the project was closed???

		Assert.assertTrue("Did not delete project " + url, pm.deleteProject(url));

		// check the file system...
		File file = new File(testDir, PROJECT_NAME);
		if (file.exists()) {
			Assert.fail("Did not delete the directory for " + url);
		}

	}
Test for Close and Delete a project.
Ghidra/Features/Base/src/test.slow/java/ghidra/framework/project/DeleteProjectTest.java