Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
disableMagicCall example
$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
(
)
{
$this
->
assertTrue
(
$this
->builder->
isMagicGetEnabled
(
)
)
;
$this
->
assertFalse
(
$this
->builder->
disableMagicGet
(
)
->
isMagicGetEnabled
(
)
)
;
$this
->
assertTrue
(
$this
->builder->
enableMagicGet
(
)
->
isMagicGetEnabled
(
)
)
;
}
public
function
testTogglingMagicSet
(
)
{