assertTrue("project does not exist", project.exists()); looks better