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