assertInstanceOf(__NAMESPACE__ . '\Available', $document->AVAILABLE); } 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() ); } 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() ); } }