public function testSetPhpPath() { $this->if($runner = new testedClass())->then->object($runner->setPhpPath($phpPath = uniqid()))->isIdenticalTo($runner)->string($runner->getPhpPath())->isIdenticalTo($phpPath); }
public function testSetPhpPath() { $this->if($runner = new atoum\runner())->then->object($runner->setPhpPath($phpPath = uniqid()))->isIdenticalTo($runner)->string($runner->getPhpPath())->isIdenticalTo($phpPath)->object($runner->setPhpPath($phpPath = rand(1, PHP_INT_MAX)))->isIdenticalTo($runner)->string($runner->getPhpPath())->isIdenticalTo((string) $phpPath); }