コード例 #1
0
ファイル: test.php プロジェクト: atoum/atoum
 public function testSetPhpPath()
 {
     $this->if($test = new emptyTest())->then->object($test->setPhpPath($phpPath = uniqid()))->isIdenticalTo($test)->string($test->getPhpPath())->isIdenticalTo($phpPath)->object($test->setPhpPath($phpPath = rand(1, PHP_INT_MAX)))->isIdenticalTo($test)->string($test->getPhpPath())->isIdenticalTo((string) $phpPath);
 }