Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
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
(
)
)
;
}
}