'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'); } function testAttendeeDelete() { $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'); } function testAttendeeDeleteCancelledEvent() { $oldMessage = <<parse($oldMessage, $newMessage, $expected, 'mailto:one@example.org'); } function testNoCalendar() { $this->parse(null, null, array(), 'mailto:one@example.org'); } function testVTodo() { $oldMessage = <<parse($oldMessage, null, array(), 'mailto:one@example.org'); } }