public function test__construct() { $this->if($asserter = new \mock\mageekguy\atoum\asserter($generator = new atoum\asserter\generator()))->then->object($asserter->getGenerator())->isIdenticalTo($generator); }
public function testSetWithArguments() { $this->if($asserter = new \mock\mageekguy\atoum\asserter(new atoum\asserter\generator()))->then->object($asserter->setWithArguments(array()))->isIdenticalTo($asserter)->mock($asserter)->call('setWith')->never()->object($asserter->setWithArguments(array($argument = uniqid())))->isIdenticalTo($asserter)->mock($asserter)->call('setWith')->withArguments($argument)->once(); }