Example #1
0
 /**
  * @covers ::setPast
  */
 public function testSetPastChangeIsPast()
 {
     $day = new Day(new \DateTime('2016-01-01'));
     $day->setPast(true);
     $this->assertTrue($day->isPast());
     $day->setPast(false);
     $this->assertFalse($day->isPast());
 }