/** * @covers DateUtils::modifyTimestamp */ public function testModifyTimestamp() { $time = 1430403672; $actual = \DateUtils::modifyTimestamp($time, "+1 day"); $excepted = "1430490072"; $this->assertSame($excepted, $actual); }