Exemple #1
0
 public function testSetPhpFunktionMocker()
 {
     $this->if($test = new emptyTest())->then->object($test->setPhpFunctionMocker($phpFunctionMocker = new atoum\php\mocker\funktion()))->isIdenticalTo($test)->object($test->getPhpFunctionMocker())->isIdenticalTo($phpFunctionMocker)->object($test->setPhpFunctionMocker())->isIdenticalTo($test)->object($test->getPhpFunctionMocker())->isNotIdenticalTo($phpFunctionMocker)->isInstanceOf('mageekguy\\atoum\\php\\mocker\\funktion');
 }