public function __construct(MatcherFactory $matcherFactory, AssertionRecorder $assertionRecorder, AssertionRenderer $assertionRenderer) { $this->matcherFactory = $matcherFactory; $this->assertionRecorder = $assertionRecorder; $this->assertionRenderer = $assertionRenderer; }