public function DateTimeComparatorTest::testAcceptsDateTimeInterface in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/sebastian/comparator/tests/DateTimeComparatorTest.php \SebastianBergmann\Comparator\DateTimeComparatorTest::testAcceptsDateTimeInterface()
@requires PHP 5.5 @covers ::accepts
File
- vendor/
sebastian/ comparator/ tests/ DateTimeComparatorTest.php, line 200
Class
- DateTimeComparatorTest
- @coversDefaultClass SebastianBergmann\Comparator\DateTimeComparator
Namespace
SebastianBergmann\ComparatorCode
public function testAcceptsDateTimeInterface() {
$this
->assertTrue($this->comparator
->accepts(new DateTime(), new DateTimeImmutable()));
}