public function testGetProjectDirectoryPathExceptions() { //Store $projectDirectoryPath = self::$manager->getProjectDirectoryPath(); self::$manager->setProjectDirectoryPath(null); try { self::$manager->getProjectDirectoryPath(); } catch (ZFCToolException $expected) { $this->assertTrue(true); //Restore self::$manager->setProjectDirectoryPath($projectDirectoryPath); return; } $this->fail('An expected Exception has not been raised.'); }