public function testProfileThrowsExceptionOnStoreToFile() { $profile = new Profile(); // missing file path or project path $this->setExpectedException('Zend\\Tool\\Project\\Profile\\Exception\\RuntimeException'); $profile->storeToFile(); }