Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
getRemoteAddressField example
$data
,
$this
->
getWriteParameterBagMock
(
)
)
->
current
(
)
;
}
public
function
testRemoteAddressSerializerValidField
(
)
: void
{
$serializer
=
$this
->
getSerializer
(
)
;
$data
=
new
KeyValuePair
(
'remoteAddress', '127.0.0.1', false
)
;
$serializer
->
encode
(
$this
->
getRemoteAddressField
(
)
,
EntityExistence::
createEmpty
(
)
,
$data
,
$this
->
getWriteParameterBagMock
(
)
)
->
current
(
)
;
static
::
assertTrue
(
true
)
;
}
public
function
testRemoteAddressSerializerAnonymize
(
)
: void
{
$this
->
setConfig
(
)
;