<?php
/**
 * @package php-tmdb\laravel
 * @author Mark Redeman <markredeman@gmail.com>
 * @copyright (c) 2014, Mark Redeman
 */
namespace Tmdb\Laravel\Adapters\Tests;

use Tmdb\Laravel\Adapters\EventDispatcherLaravel5 as AdapterDispatcher;

class EventDispatcherTestLaravel5 extends AbstractEventDispatcherTest
{
    protected function createEventDispatcher()
    {
        $this->laravel = $this->prophesize('Illuminate\Contracts\Events\Dispatcher');
        $this->symfony = $this->prophesize('Symfony\Component\EventDispatcher\EventDispatcher');

        return new AdapterDispatcher(
            $this->laravel->reveal(),
            $this->symfony->reveal()
        );
    }
}
<?php
/**
 * @package php-tmdb\laravel
 * @author Mark Redeman <markredeman@gmail.com>
 * @copyright (c) 2014, Mark Redeman
 */
namespace Tmdb\Laravel\Adapters\Tests;

use Tmdb\Laravel\Adapters\EventDispatcherLaravel5 as AdapterDispatcher;

class EventDispatcherTestLaravel5 extends AbstractEventDispatcherTest
{
    protected function createEventDispatcher()
    {
        $this->laravel = $this->prophesize('Illuminate\Events\Dispatcher');
        $this->symfony = $this->prophesize('Symfony\Component\EventDispatcher\EventDispatcher');

        return new AdapterDispatcher(
            $this->laravel->reveal(),
            $this->symfony->reveal()
        );
    }
}
Use Illuminate\Events\Dispatcher instead of contract
Use Illuminate\Events\Dispatcher instead of contract

Laravel dispatcher should be either Illuminate\Contracts\Events\Dispatcher
or Illuminate\Events\Dispatcher, however only the latter has fire()
method, which in turn just a wrapper for dispatch()

Using fire() inplace with contract tests are failing with exceptions:
1. Tmdb\Laravel\Adapters\Tests\EventDispatcherTestLaravel5::it_dispatches_events_through_both_laravel_and_symfony
   Prophecy\Exception\Doubler\MethodNotFoundException: Method `Double\Dispatcher\P25::fire()` is not defined.

2. Tmdb\Laravel\Adapters\Tests\EventDispatcherTestLaravel5::it_returns_the_event_returned_by_the_symfony_dispatcher
   Prophecy\Exception\Doubler\MethodNotFoundException: Method `Double\Dispatcher\P27::fire()` not found.
