/** * */ public function testFindMocksPathWithoutFileFounded() { $pathFinder = new PathFinder(new Test(new ReflectionMethod(__CLASS__, __FUNCTION__))); $this->setExpectedException('RuntimeException', 'File not found'); $pathFinder->findMocksPath(); }
/** * @return string */ private function getPath() { $pathfinder = new PathFinder($this->getTest()); return $pathfinder->findMocksPath(); }