public function invalidBasePath() { $this->setExpectedException('Exception', "Invalid basepath '/does/not/exist'"); $blueprint = $this->getMockedBlueprint(['basepath' => '/does/not/exist']); $blueprint->getBasePath(); }