Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
DummyMessageWithoutTransport example
$this
->
assertSame
(
$message
->
getSubject
(
)
,
$nullMessage
->
getSubject
(
)
)
;
$this
->
assertSame
(
$message
->
getRecipientId
(
)
,
$nullMessage
->
getRecipientId
(
)
)
;
$this
->
assertSame
(
$message
->
getOptions
(
)
,
$nullMessage
->
getOptions
(
)
)
;
(
null ===
$message
->
getTransport
(
)
)
?
$this
->
assertSame
(
'null',
$nullMessage
->
getTransport
(
)
)
:
$this
->
assertSame
(
$message
->
getTransport
(
)
,
$nullMessage
->
getTransport
(
)
)
;
}
public
static
function
messageDataProvider
(
)
: \Generator
{
yield
[
new
DummyMessageWithoutTransport
(
)
]
;
yield
[
new
DummyMessageWithTransport
(
)
]
;
}
}