setProjectName() public method

public setProjectName ( $projectName )
Esempio n. 1
0
 public function testSetProjectName()
 {
     $this->if($field = new testedClass(uniqid(), uniqid()))->then->object($field->setProjectName($projectName = uniqid()))->isIdenticalTo($field)->string($field->getProjectName())->isIdenticalTo($projectName)->object($field->setProjectName($projectName = rand(1, PHP_INT_MAX)))->isIdenticalTo($field)->string($field->getProjectName())->isIdenticalTo((string) $projectName);
 }