public function testLoadHeighten()
{
$width = 900;
$height = 400;
$origWidth = 770;
$origHeight = 377;
$box = new Box($origWidth, $origHeight);
$image = $this->getMock('\\Imagine\\Image\\ImageInterface');
$image->expects($this->once())->method('getSize')->will($this->returnValue($box));
$this->innerLoader->expects($this->once())->method('load')->with($image, $this->equalTo(array('heighten' => $height)))->will($this->returnValue($image));
$this->assertSame($image, $this->loader->load($image, array($width, $height)));
}