public function __construct(AggregateRootId $id, InMemoryMessageRepository $messageRepository, AggregateRootRepository $repository, AggregateRootTestCase $testCase)
28
{
29
1
$this->id = $id;
30
1
$this->repository = $repository;
31
1
$this->testCase = $testCase;
32
1
$this->messageRepository = $messageRepository;
33
1
}
34
35
/**
36
* @return AggregateRootTestCase
37
*/
38
1
public function stage(Event ... $events): AggregateRootTestCase