/** * @covers Image\Canvas::destroyImage */ public function testDestroyImage() { $this->object->createImage(100, 100); $this->object->destroyImage(); $this->assertTrue(!isset($this->object->image)); }