Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
enableMagicCall example
$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
(
)
)
;
$this
->
assertTrue
(
$this
->builder->
isMagicCallEnabled
(
)
)
;
}
public
function
testDisableMagicCall
(
)
{
$this
->
assertSame
(
$this
->builder,
$this
->builder->
disableMagicCall
(
)
)
;
$this
->
assertFalse
(
$this
->builder->
isMagicCallEnabled
(
)
)
;
}
public
function
testTogglingMagicGet
(
)
{