<?php

use mageekguy\atoum;
use mageekguy\atoum\scripts;
if (defined('mageekguy\\atoum\\scripts\\runner') === true && version_compare(constant('mageekguy\\atoum\\version'), '2.9.0-beta', '>=') === true) {
    scripts\runner::addConfigurationCallable(function (atoum\configurator $script, atoum\runner $runner) {
        $extension = new atoum\blackfire\extension($script);
        $extension->addToRunner($runner);
    });
}
Esempio n. 2
0
 public function testSetTest()
 {
     $this->if($extension = new testedClass())->and($test = new \mock\mageekguy\atoum\test())->and($manager = new \mock\mageekguy\atoum\test\assertion\manager())->and($test->setAssertionManager($manager))->then->object($extension->setTest($test))->isIdenticalTo($extension)->mock($manager)->call('setHandler')->withArguments('blackfireProfile')->once();
 }