/** * @covers DateUtils::timeDiff */ public function testTimeDiffLess() { $startTime = 1430403672; $end = 1430388542; $actual = \DateUtils::timeDiff($startTime, $end); $excepted = "-04:12:10"; $this->assertSame($excepted, $actual); }