Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
createPluginSearchResult example
static
::
expectException
(
StoreApiException::
class
)
;
static
::
expectExceptionMessage
(
$exceptionMessage
)
;
$frwController
->
frwStart
(
$this
->
createContext
(
)
)
;
}
public
function
testGetLanguagePluginList
(
)
: void
{
$context
=
$this
->
createContext
(
)
;
$plugin1Name
= 'SwagTest1';
$pluginRepository
=
new
StaticEntityRepository
(
[
$this
->
createPluginSearchResult
(
$context
,
[
[
'name' =>
$plugin1Name
]
,
]
)
,
]
)
;
$appRepository
=
new
StaticEntityRepository
(
[
new
EntitySearchResult
(
AppEntity::
class
,
0,
new
AppCollection
(
)
,
null,
new
Criteria
(
)
,