getDestinationDirectory() public method

コード例 #1
0
ファイル: html.php プロジェクト: xihewang/atoum
 public function testSetDestinationDirectory()
 {
     $this->if($field = new testedClass(uniqid(), uniqid()))->then->object($field->setDestinationDirectory($directory = uniqid()))->isIdenticalTo($field)->string($field->getDestinationDirectory())->isEqualTo($directory)->object($field->setDestinationDirectory($directory = rand(1, PHP_INT_MAX)))->isIdenticalTo($field)->string($field->getDestinationDirectory())->isIdenticalTo((string) $directory);
 }