Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
setThreadKey example
$cardV2
,
]
,
]
;
$this
->
assertSame
(
$expected
,
$options
->
toArray
(
)
)
;
}
public
function
testOptionsWithThread
(
)
{
$thread
= 'fgh.ijk';
$options
=
new
GoogleChatOptions
(
)
;
$options
->
setThreadKey
(
$thread
)
;
$this
->
assertSame
(
$thread
,
$options
->
getThreadKey
(
)
)
;
$options
->
setThreadKey
(
null
)
;
$this
->
assertNull
(
$options
->
getThreadKey
(
)
)
;
}
}