private void assertFileInProject(DomainFile df) {

		if (df == null) {
			throw new IllegalArgumentException("DomainFile cannot be null");
		}

		if (isFileSharingEnabled) {
			return;
		}

		ProjectLocator pl = df.getProjectLocator();
		ProjectLocator mypl = getProjectData().getProjectLocator();
		if (!pl.equals(mypl)) {
			throw new IllegalArgumentException("Domain file '" + df + "' is not in this project: " +
				mypl.getName() + "\nYou must call addDomainFile(filename).");
		}
	}
Disposes this project.

@see FakeRepository#dispose()
Ghidra/Features/Base/src/test/java/ghidra/base/project/FakeSharedProject.java