public function testSaveWithGif() { $savingPath = $this->directory . 'saving-test.gif'; $this->object->open($this->directory . 'test.gif'); $this->object->resize(50, 50); $this->assertTrue($this->object->save($savingPath)); unlink($savingPath); }