/** * @covers InputConverter::setDate */ public function testSetDate() { $map = array(); $this->converter->setDate($map, "today", 1430468663); $excepted = array("today" => "5/01/15"); $this->assertEquals($excepted, $map); }
/** * @covers InputConverter::setDate */ public function testSetDate() { $map = array(); $this->converter->setDate($map, "today", 1430468663); $excepted = array("today" => "5/01/15"); $this->assertEquals($excepted, $map); }