Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
 protected function setUp()
 {
     parent::setUp();
     if (!extension_loaded('bcmath')) {
         $this->markTestSkipped('The BC MATH extension is not available.');
     }
 }
 protected function setUp()
 {
     parent::setUp();
     if (!extension_loaded('gmp') || !function_exists('gmp_intval')) {
         $this->markTestSkipped('The GMP extension is not available.');
     }
 }
示例#3
0
 public function setUp()
 {
     parent::setUp();
     $this->textFormat = new TextFormat($this->config);
 }
 protected function setUp()
 {
     parent::setUp();
     $this->writer = new StreamWriter($this->config);
     $this->calculator = new SizeCalculator($this->config);
 }