/** * Prepares the environment before running a test. */ protected function setUp() { parent::setUp(); $this->res = new ImageResource(imagecreatefrompng(__DIR__ . '/../test/sample.png')); }
/** * Prepares the environment before running a test. */ protected function setUp() { parent::setUp(); }