Skip to content

Commit

Permalink
Merge pull request #75 from dilab/master
Browse files Browse the repository at this point in the history
expose AggregateRoot for testing state
  • Loading branch information
freekmurze committed Mar 21, 2020
2 parents 5da0791 + 602600d commit 94739df
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/FakeAggregateRoot.php
Expand Up @@ -77,4 +77,9 @@ public function __call($name, $arguments): self

return $this;
}

public function aggregateRoot(): AggregateRoot
{
return $this->aggregateRoot;
}
}

0 comments on commit 94739df

Please sign in to comment.