public function testThrowsExceptionWhenImageIsSlightlyBroken()
{
$filePath = FIXTURES_DIR . '/slightly-broken-image.png';
$this->request->expects($this->once())->method('getContent')->will($this->returnValue(file_get_contents($filePath)));
$this->prepare->prepareImage($this->event);
}