public function testLoad()
{
$options = array(123, 456);
$image = $this->getMock('\\Imagine\\Image\\ImageInterface');
$this->innerLoader->expects($this->once())->method('load')->with($image, $this->equalTo(array('size' => $options, 'mode' => ImageInterface::THUMBNAIL_INSET)))->will($this->returnValue($image));
$this->assertSame($image, $this->loader->load($image, $options));
}