setWith() public method

public setWith ( $class )
Ejemplo n.º 1
0
 public function testSetWith()
 {
     $this->if($asserter = new asserters\testedClass(new asserter\generator()))->then->exception(function () use($asserter) {
         $asserter->setWith(uniqid());
     })->isInstanceOf('mageekguy\\atoum\\exceptions\\logic\\badMethodCall')->hasMessage('Unable to call method ' . get_class($asserter) . '::setWith()');
 }