public function testFailWithUpperBoundary() { $dateTime = new \DateTime('2015-03-06 23:59:59'); $dateTime = $dateTime->modify('+1 seconds'); $this->assertFalse($this->rule->validate($dateTime, $dateTime->format('l, Y-m-d H:i:m'))); }
public function testFailWithUpperBoundary() { $this->assertFalse($this->rule->validate(new \DateTime('2015-03-03 13:00', new \DateTimeZone('Australia/Sydney')))); }
public function testFailWithUpperBoundary() { $this->assertFalse($this->rule->validate(new \DateTime('2015-03-09 00:00:00'))); }