/** * Test TimePoint::compare() method * @dataProvider testCompareProvider */ public function testCompare(TimePoint $firstPoint, TimePoint $secondPoint, $expectedResult) { $this->assertEquals($expectedResult, $firstPoint->compare($secondPoint)); }