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.'); } }
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); }