getTemplatesDirectory() public method

Esempio n. 1
0
 public function testSetTemplatesDirectory()
 {
     $this->if($field = new testedClass(uniqid(), uniqid()))->then->object($field->setTemplatesDirectory($directory = uniqid()))->isIdenticalTo($field)->string($field->getTemplatesDirectory())->isEqualTo($directory)->object($field->setTemplatesDirectory($directory = rand(1, PHP_INT_MAX)))->isIdenticalTo($field)->string($field->getTemplatesDirectory())->isIdenticalTo((string) $directory);
 }