You are here

public function SplObjectStorageComparatorTest::testAssertEqualsFails in Zircon Profile 8

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

@covers ::assertEquals @dataProvider assertEqualsFailsProvider

File

vendor/sebastian/comparator/tests/SplObjectStorageComparatorTest.php, line 129

Class

SplObjectStorageComparatorTest
@coversDefaultClass SebastianBergmann\Comparator\SplObjectStorageComparator

Namespace

SebastianBergmann\Comparator

Code

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