Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getStoreClient example
$storeClient
,
$this
->
getExtensionDataProvider
(
)
)
;
static
::
expectException
(
ClientException::
class
)
;
$pluginCompatibility
->
getExtensionCompatibilities
(
new
Version
(
)
, Context::
createDefaultContext
(
)
)
;
}
public
function
testExtensionsToDeactivateNoFilter
(
)
: void
{
$pluginCompatibility
=
new
ExtensionCompatibility
(
$this
->
getStoreClient
(
)
,
$this
->
getExtensionDataProvider
(
)
)
;
static
::
assertEmpty
(
$pluginCompatibility
->
getExtensionsToDeactivate
(
new
Version
(
)
, Context::
createDefaultContext
(
)
, ExtensionCompatibility::PLUGIN_DEACTIVATION_FILTER_NONE
)
)
;
}
public
function
testExtensionsToDeactivateAll
(
)
: void
{
$pluginCompatibility
=
new
ExtensionCompatibility
(
$this
->
getStoreClient
(
)
,
$this
->
getExtensionDataProvider
(
)
)
;