You are here

public function DOMNodeComparatorTest::testAssertEqualsFails in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/sebastian/comparator/tests/DOMNodeComparatorTest.php \SebastianBergmann\Comparator\DOMNodeComparatorTest::testAssertEqualsFails()

@covers ::assertEquals @dataProvider assertEqualsFailsProvider

File

vendor/sebastian/comparator/tests/DOMNodeComparatorTest.php, line 154

Class

DOMNodeComparatorTest
@coversDefaultClass SebastianBergmann\Comparator\DOMNodeComparator

Namespace

SebastianBergmann\Comparator

Code

public function testAssertEqualsFails($expected, $actual) {
  $this
    ->setExpectedException('SebastianBergmann\\Comparator\\ComparisonFailure', 'Failed asserting that two DOM');
  $this->comparator
    ->assertEquals($expected, $actual);
}