You are here

public function DateTimeComparatorTest::testAcceptsSucceeds in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/sebastian/comparator/tests/DateTimeComparatorTest.php \SebastianBergmann\Comparator\DateTimeComparatorTest::testAcceptsSucceeds()

@covers ::accepts

File

vendor/sebastian/comparator/tests/DateTimeComparatorTest.php, line 144

Class

DateTimeComparatorTest
@coversDefaultClass SebastianBergmann\Comparator\DateTimeComparator

Namespace

SebastianBergmann\Comparator

Code

public function testAcceptsSucceeds() {
  $this
    ->assertTrue($this->comparator
    ->accepts(new DateTime(), new DateTime()));
}