public function testTestingAidsWithTestNowSet() { $notNow = IntlCarbon::yesterday(); IntlCarbon::setTestNow($notNow); $this->assertTrue(IntlCarbon::hasTestNow()); $this->assertSame($notNow, IntlCarbon::getTestNow()); }