ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
MessageTest.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Sabre\VObject\ITip;
4 
6 
7 class MessageTest extends TestCase {
8 
9  function testNoScheduleStatus() {
10 
11  $message = new Message();
12  $this->assertFalse($message->getScheduleStatus());
13 
14  }
15 
16  function testScheduleStatus() {
17 
18  $message = new Message();
19  $message->scheduleStatus = '1.2;Delivered';
20 
21  $this->assertEquals('1.2', $message->getScheduleStatus());
22 
23  }
24 
26 
27  $message = new Message();
28  $message->scheduleStatus = '9.9.9';
29 
30  $this->assertEquals('9.9.9', $message->getScheduleStatus());
31 
32  }
33 
34 }
This class represents an iTip message.
Definition: Message.php:17
catch(Exception $e) $message