public function DateTimeComparatorTest::testAssertEqualsFails in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/sebastian/comparator/tests/DateTimeComparatorTest.php \SebastianBergmann\Comparator\DateTimeComparatorTest::testAssertEqualsFails()
@covers ::assertEquals @dataProvider assertEqualsFailsProvider
File
- vendor/
sebastian/ comparator/ tests/ DateTimeComparatorTest.php, line 187
Class
- DateTimeComparatorTest
- @coversDefaultClass SebastianBergmann\Comparator\DateTimeComparator
Namespace
SebastianBergmann\ComparatorCode
public function testAssertEqualsFails($expected, $actual, $delta = 0.0) {
$this
->setExpectedException('SebastianBergmann\\Comparator\\ComparisonFailure', 'Failed asserting that two DateTime objects are equal.');
$this->comparator
->assertEquals($expected, $actual, $delta);
}