public function DOMNodeComparatorTest::testAssertEqualsSucceeds in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/sebastian/comparator/tests/DOMNodeComparatorTest.php \SebastianBergmann\Comparator\DOMNodeComparatorTest::testAssertEqualsSucceeds()
@covers ::assertEquals @dataProvider assertEqualsSucceedsProvider
File
- vendor/
sebastian/ comparator/ tests/ DOMNodeComparatorTest.php, line 136
Class
- DOMNodeComparatorTest
- @coversDefaultClass SebastianBergmann\Comparator\DOMNodeComparator
Namespace
SebastianBergmann\ComparatorCode
public function testAssertEqualsSucceeds($expected, $actual) {
$exception = null;
try {
$this->comparator
->assertEquals($expected, $actual);
} catch (ComparisonFailure $exception) {
}
$this
->assertNull($exception, 'Unexpected ComparisonFailure');
}