Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
eZ
Publish
Core
REST
Common
Tests
AssertXmlTagTrait
PHP Trait eZ\Publish\Core\REST\Common\Tests\AssertXmlTagTrait
Show file
Open project: ezsystems/ezpublish-kernel
Public Methods
Method
Description
assertXMLTag
(
array
$matcher
,
string
$actualXml
,
string
$message
= '' )
Simple re implementation of assertTag (deprecated in PHPUnit) for XML use.
Method Details
assertXMLTag()
public
static
method
Simple re implementation of assertTag (deprecated in PHPUnit) for XML use.
public
static
assertXMLTag
(
array
$matcher
,
string
$actualXml
,
string
$message
= '' )
$matcher
array
Hash with 'tag' (required), and optionally: 'attributes' & 'content' keys
$actualXml
string
$message
string