/**
  * @test
  */
 public function isApplicableToImages()
 {
     $plugin = new ArbitraryVersionPlugin('arbitrage', function () {
     }, function () {
     }, function () {
     }, function () {
     }, function () {
     }, function () {
         return null;
     });
     $plugin->setBelongsToProfileResolver(function () {
         return true;
     });
     $imageFile = File::create(array('resource' => Resource::create(array('mimetype' => 'image/lus'))));
     $videoFile = File::create(array('resource' => Resource::create(array('mimetype' => 'video/lus'))));
     $this->assertFalse($plugin->isApplicableTo($videoFile));
     $this->assertTrue($plugin->isApplicableTo($imageFile));
 }