public function DOMNodeComparatorTest::assertEqualsSucceedsProvider in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/sebastian/comparator/tests/DOMNodeComparatorTest.php \SebastianBergmann\Comparator\DOMNodeComparatorTest::assertEqualsSucceedsProvider()
File
- vendor/
sebastian/ comparator/ tests/ DOMNodeComparatorTest.php, line 53
Class
- DOMNodeComparatorTest
- @coversDefaultClass SebastianBergmann\Comparator\DOMNodeComparator
Namespace
SebastianBergmann\ComparatorCode
public function assertEqualsSucceedsProvider() {
return array(
array(
$this
->createDOMDocument('<root></root>'),
$this
->createDOMDocument('<root/>'),
),
array(
$this
->createDOMDocument('<root attr="bar"></root>'),
$this
->createDOMDocument('<root attr="bar"/>'),
),
array(
$this
->createDOMDocument('<root><foo attr="bar"></foo></root>'),
$this
->createDOMDocument('<root><foo attr="bar"/></root>'),
),
array(
$this
->createDOMDocument("<root>\n <child/>\n</root>"),
$this
->createDOMDocument('<root><child/></root>'),
),
);
}