/** * @covers DateUtils::getBeginningOfMonth */ public function testGetBeginningOfMonth() { $time = 1430388542; $actual = \DateUtils::getBeginningOfMonth($time, "America/Los_Angeles"); $excepted = 1427871600; $this->assertSame($excepted, $actual); }