mageekguy\atoum\runner::getBootstrapFile PHP Method

getBootstrapFile() public method

public getBootstrapFile ( )
    public function getBootstrapFile()
    {
        return $this->bootstrapFile;
    }

Usage Example

示例#1
0
 public function testGetBootstrapFile()
 {
     $this->if($runner = new testedClass())->and($includer = new \mock\mageekguy\atoum\includer())->and($includer->getMockController()->includePath = function () {
     })->and($runner->setIncluder($includer))->then->object($runner->setBootstrapFile($path = uniqid()))->isIdenticalTo($runner)->string($runner->getBootstrapFile())->isEqualTo($path)->mock($includer)->call('includePath')->withArguments($path)->once();
 }
runner