Ejemplo n.º 1
0
 public function testSetMethodPrompt()
 {
     $this->if($field = new runner\errors\cli())->then->object($field->setMethodPrompt($prompt = new prompt(uniqid())))->isIdenticalTo($field)->object($field->getMethodPrompt())->isIdenticalTo($prompt)->object($field->setMethodPrompt())->isIdenticalTo($field)->object($field->getMethodPrompt())->isNotIdenticalTo($prompt)->isEqualTo(new prompt());
 }