public function testRemoveThumbnails()
 {
     list($storage, $repo) = $this->getMocks();
     $instance = new ImageHandler($storage, $repo);
     $id = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx';
     $mockFile = m::mock('Xpressengine\\Storage\\File');
     $mockMeta = m::mock('Xpressengine\\Media\\Meta');
     $mockImage = m::mock('Xpressengine\\Media\\Spec\\Image', [$mockFile, $mockMeta]);
     $mockImage->id = $id;
     $repo->shouldReceive('deleteByOriginId')->once()->with($id)->andReturn(1);
     $instance->removeThumbnails($mockImage);
 }