You are here

public function ScalarComparatorTest::testAssertEqualsFails in Zircon Profile 8

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

@covers ::assertEquals @dataProvider assertEqualsFailsProvider

File

vendor/sebastian/comparator/tests/ScalarComparatorTest.php, line 151

Class

ScalarComparatorTest
@coversDefaultClass SebastianBergmann\Comparator\ScalarComparator

Namespace

SebastianBergmann\Comparator

Code

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