requireBootstrap() public method

Require the bootstrap. If the file is specified, but does not exist then an exception will be raised.
public requireBootstrap ( $file )
$file
Example #1
0
 public function testRequireBootstrapIsChdirResistent()
 {
     $file = dirname(__FILE__) . '/../../../../fixtures/chdirBootstrap.php';
     $tester = new PHPUnit();
     $cwd = getcwd();
     $tester->requireBootstrap($file);
     $this->assertEquals($cwd, getcwd());
 }