private void startServer() throws Exception {
		File parent = new File(getTestDirectoryPath());

		// Create server instance
		serverRoot = new File(parent, "My_Server");
		FileUtilities.deleteDir(serverRoot);

		repositoryServer = ServerTestUtil.getServerAdapter(serverRoot, new String[] { USER });

		if (repositoryServer == null || !repositoryServer.isConnected()) {
			ServerTestUtil.disposeServer();
			FileUtilities.deleteDir(serverRoot);
			serverRoot = null;
			Assert.fail("Server connect failed");
		}

		RepositoryAdapter repository = repositoryServer.createRepository("My_Repository");
		assertTrue(repository.getUser().isAdmin());
	}
Test for the New Project Wizard.
Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/framework/main/NewProjectWizardTest.java