/** * test the end option for timeAgoInWords * * @dataProvider timeAgoEndProvider * @return void */ public function testTimeAgoInWordsEndFrozenDate($input, $expected, $end) { $time = new FrozenDate($input); $result = $time->timeAgoInWords(['end' => $end]); $this->assertEquals($expected, $result); }