You are here

public function ExceptionComparatorTest::testAssertEqualsFails in Zircon Profile 8

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

@covers ::assertEquals @dataProvider assertEqualsFailsProvider

File

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

Class

ExceptionComparatorTest
@coversDefaultClass SebastianBergmann\Comparator\ExceptionComparator

Namespace

SebastianBergmann\Comparator

Code

public function testAssertEqualsFails($expected, $actual, $message) {
  $this
    ->setExpectedException('SebastianBergmann\\Comparator\\ComparisonFailure', $message);
  $this->comparator
    ->assertEquals($expected, $actual);
}