@Before
	public void setUp() throws Exception {
		testDir = getTestDirectoryPath();
		ProjectTestUtils.deleteProject(testDir, PROJECT_NAME);
		pm = TestProjectManager.get();

		// get project (create it if it doesn't exist...)
		Project project = ProjectTestUtils.getProject(testDir, PROJECT_NAME);
		url = project.getProjectLocator();
		project.close();
	}
Test for Close and Delete a project.
Ghidra/Features/Base/src/test.slow/java/ghidra/framework/project/DeleteProjectTest.java