expects('dispatch') ->once() ->with($event); // WHEN $dispatcher->dispatch($event); // THEN expect(true)->toBeTrue(); }); });