Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
isMagicSetEnabled example
public
function
testDisableMagicGet
(
)
{
$this
->
assertSame
(
$this
->builder,
$this
->builder->
disableMagicGet
(
)
)
;
$this
->
assertFalse
(
$this
->builder->
disableMagicGet
(
)
->
isMagicGetEnabled
(
)
)
;
}
public
function
testEnableMagicSet
(
)
{
$this
->
assertSame
(
$this
->builder,
$this
->builder->
enableMagicSet
(
)
)
;
$this
->
assertTrue
(
$this
->builder->
isMagicSetEnabled
(
)
)
;
}
public
function
testDisableMagicSet
(
)
{
$this
->
assertSame
(
$this
->builder,
$this
->builder->
disableMagicSet
(
)
)
;
$this
->
assertFalse
(
$this
->builder->
disableMagicSet
(
)
->
isMagicSetEnabled
(
)
)
;
}
public
function
testEnableMagicCall
(
)
{
$this
->
assertSame
(
$this
->builder,
$this
->builder->
enableMagicCall
(
)
)
;