assertInstanceOf(__NAMESPACE__.'\Available', $document->AVAILABLE); } public function testGetEffectiveStartEnd() { $vcal = <<assertEquals( [ new DateTimeImmutable('2015-07-17 16:22:00', $tz), new DateTimeImmutable('2015-07-17 17:22:00', $tz), ], $document->AVAILABLE->getEffectiveStartEnd() ); } public function testGetEffectiveStartEndDuration() { $vcal = <<assertEquals( [ new DateTimeImmutable('2015-07-17 16:22:00', $tz), new DateTimeImmutable('2015-07-17 17:22:00', $tz), ], $document->AVAILABLE->getEffectiveStartEnd() ); } }