getTestGenerator() public method

public getTestGenerator ( )
Beispiel #1
0
 public function testSetTestGenerator()
 {
     $this->if($runner = new testedClass())->then->object($runner->setTestGenerator($generator = new test\generator()))->isIdenticalTo($runner)->object($runner->getTestGenerator())->isIdenticalTo($generator)->object($runner->setTestGenerator())->isIdenticalTo($runner)->object($runner->getTestGenerator())->isInstanceOf('mageekguy\\atoum\\test\\generator')->isNotIdenticalTo($generator);
 }