A better DeciderTestCase
I would like to write my test as follows:
$this->given(...$givenEvents)
->when($command)
->then(...$expectedEvents);
and
$this->given(...$givenEvents)
->when($command)
->expectException($exceptionType);
I think that should be doable
Edited by Johan Vervloet