You are here

public function MockObjectComparatorTest::testAssertEqualsFails in Zircon Profile 8

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

@covers ::assertEquals @dataProvider assertEqualsFailsProvider

File

vendor/sebastian/comparator/tests/MockObjectComparatorTest.php, line 159

Class

MockObjectComparatorTest
@coversDefaultClass SebastianBergmann\Comparator\MockObjectComparator

Namespace

SebastianBergmann\Comparator

Code

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