getScoreFactory() public method

public getScoreFactory ( )
Beispiel #1
0
 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');
 }
Beispiel #2
0
 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());
 }