toString() public method

public toString ( )
Ejemplo n.º 1
0
 public function testToString()
 {
     $this->if($asserter = new asserters\object($generator = new asserter\generator()))->then->exception(function () use($asserter) {
         $asserter->toString();
     })->isInstanceOf('mageekguy\\atoum\\exceptions\\logic')->hasMessage('Object is undefined')->if($asserter->setWith($this))->then->object($asserter->toString())->isInstanceOf('mageekguy\\atoum\\asserters\\castToString');
 }