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