public function test__construct() { $this->if($engine = new engines\concurrent())->then->object($engine->getAdapter())->isEqualTo(new atoum\adapter())->object($defaultScoreFactory = $engine->getScoreFactory())->isInstanceOf('closure')->object($defaultScoreFactory())->isInstanceOf('mageekguy\\atoum\\score'); }
public function test__construct() { $this->if($engine = new testedClass())->then->object($defaultScoreFactory = $engine->getScoreFactory())->isInstanceOf('closure')->object($defaultScoreFactory())->isInstanceOf('mageekguy\\atoum\\score')->object($engine->getPhp())->isEqualTo(new atoum\php()); }