You are here

public function DOMNodeComparatorTest::testAssertEqualsSucceeds in Zircon Profile 8

Same name and namespace in other branches
  1. 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\Comparator

Code

public function testAssertEqualsSucceeds($expected, $actual) {
  $exception = null;
  try {
    $this->comparator
      ->assertEquals($expected, $actual);
  } catch (ComparisonFailure $exception) {
  }
  $this
    ->assertNull($exception, 'Unexpected ComparisonFailure');
}