public getAggregateRootDecorator ( ) : |
||
Результат |
/** * @test */ public function it_can_use_custom_aggregate_root_decorator() { $mock = $this->getMock(AggregateRootDecorator::class, [], [], '', false); $translator = new AggregateTranslator(); $translator->setAggregateRootDecorator($mock); $this->assertSame($mock, $translator->getAggregateRootDecorator()); }