'foobar', 'method' => 'CANCEL', 'component' => 'VEVENT', 'sender' => 'mailto:strunk@example.org', 'senderName' => 'Strunk', 'recipient' => 'mailto:one@example.org', 'recipientName' => 'One', 'message' => << 'foobar', 'method' => 'CANCEL', 'component' => 'VEVENT', 'sender' => 'mailto:strunk@example.org', 'senderName' => 'Strunk', 'recipient' => 'mailto:two@example.org', 'recipientName' => 'Two', 'message' => <<parse($oldMessage, $newMessage, $expected, 'mailto:strunk@example.org'); } public function testOrganizerDeleteWithDuration() { $oldMessage = << 'foobar', 'method' => 'CANCEL', 'component' => 'VEVENT', 'sender' => 'mailto:strunk@example.org', 'senderName' => 'Strunk', 'recipient' => 'mailto:one@example.org', 'recipientName' => 'One', 'message' => << 'foobar', 'method' => 'CANCEL', 'component' => 'VEVENT', 'sender' => 'mailto:strunk@example.org', 'senderName' => 'Strunk', 'recipient' => 'mailto:two@example.org', 'recipientName' => 'Two', 'message' => <<parse($oldMessage, $newMessage, $expected, 'mailto:strunk@example.org'); } public function testAttendeeDeleteWithDtend() { $oldMessage = << 'foobar', 'method' => 'REPLY', 'component' => 'VEVENT', 'sender' => 'mailto:one@example.org', 'senderName' => 'One', 'recipient' => 'mailto:strunk@example.org', 'recipientName' => 'Strunk', 'message' => <<parse($oldMessage, $newMessage, $expected, 'mailto:one@example.org'); } public function testAttendeeReplyWithDuration() { $oldMessage = << 'foobar', 'method' => 'REPLY', 'component' => 'VEVENT', 'sender' => 'mailto:one@example.org', 'senderName' => 'One', 'recipient' => 'mailto:strunk@example.org', 'recipientName' => 'Strunk', 'message' => <<parse($oldMessage, $newMessage, $expected, 'mailto:one@example.org'); } public function testAttendeeDeleteCancelledEvent() { $oldMessage = <<parse($oldMessage, $newMessage, $expected, 'mailto:one@example.org'); } public function testNoCalendar() { $this->parse(null, null, [], 'mailto:one@example.org'); } public function testVTodo() { $oldMessage = <<parse($oldMessage, null, [], 'mailto:one@example.org'); } }