public function testResizeWithCropOption() { $this->object->open($this->directory . 'test.png'); $this->assertInstanceOf('Gc\\Media\\Image', $this->object->resize(50, 50, 'crop')); }