laracasts/Commander

PHPSpec a CommandHandler with DispatchableTrait

Closed this issue · 1 comments

Hi,

It kinda seems like when specing a command handler that uses DispatchableTrait it becomes untestable with PHPSpec. Is this right, or have I missed something?

So probably a bit of a dull moment here, I ended up not using the trait, and injecting the EventDispatcher.