コード例 #1
0
ファイル: test.php プロジェクト: atoum/atoum
 public function testGetTestedClassPath()
 {
     $this->if($testedClass = new \reflectionClass($this->getTestedClassName()))->then->string($this->getTestedClassPath())->isEqualTo($testedClass->getFilename());
 }
コード例 #2
0
ファイル: test.php プロジェクト: hafeez3000/atoum
 public function getTestedClassPath()
 {
     if ($this->testedClassPath === null) {
         $testedClass = new \reflectionClass($this->getTestedClassName());
         $this->testedClassPath = $testedClass->getFilename();
     }
     return $this->testedClassPath;
 }