public function testCanReturnAddedTransformations() { $this->assertSame(array(), $this->url->getTransformations(), 'Transformations sould initially be an empty array'); $this->url->thumbnail()->desaturate()->png(); $this->assertSame(array('thumbnail:width=50,height=50,fit=outbound', 'desaturate'), $this->url->getTransformations(), 'Could not fetch transformations after adding'); $this->url->reset(); $this->assertSame(array(), $this->url->getTransformations(), 'Resetting the URL did not clear the added transformations'); }