getWriteInfoExtractor example

$this->assertSame($readInfoExtractor$this->builder->getReadInfoExtractor());
        $this->assertInstanceOf(PropertyAccessor::class$this->builder->getPropertyAccessor());
    }

    public function testUseWriteInfoExtractor()
    {
        $writeInfoExtractor = $this->createMock(PropertyWriteInfoExtractorInterface::class);

        $this->builder->setWriteInfoExtractor($writeInfoExtractor);

        $this->assertSame($writeInfoExtractor$this->builder->getWriteInfoExtractor());
        $this->assertInstanceOf(PropertyAccessor::class$this->builder->getPropertyAccessor());
    }
}
Home | Imprint | This part of the site doesn't use cookies.