Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
isSessionHandlerInterface example
$this
->proxy =
$this
->
getMockForAbstractClass
(
AbstractProxy::
class
)
;
}
public
function
testGetSaveHandlerName
(
)
{
$this
->
assertNull
(
$this
->proxy->
getSaveHandlerName
(
)
)
;
}
public
function
testIsSessionHandlerInterface
(
)
{
$this
->
assertFalse
(
$this
->proxy->
isSessionHandlerInterface
(
)
)
;
$sh
=
new
SessionHandlerProxy
(
new
\
SessionHandler
(
)
)
;
$this
->
assertTrue
(
$sh
->
isSessionHandlerInterface
(
)
)
;
}
public
function
testIsWrapper
(
)
{
$this
->
assertFalse
(
$this
->proxy->
isWrapper
(
)
)
;
}
/** * @runInSeparateProcess * * @preserveGlobalState disabled */