1 | <?php |
||
24 | class ThreadModelTestHelper |
||
25 | { |
||
26 | protected $sender; |
||
27 | protected $recipient; |
||
28 | |||
29 | const MESSAGE_BODY = "the body of the message"; |
||
30 | const SENDER_ID = "sender"; |
||
31 | const RECIPIENT_ID = "recipient"; |
||
32 | const DATE_TIME_VALUE = "2011-10-13 00:00:00"; |
||
33 | const THREAD_SUBJECT = "The subject of the message"; |
||
34 | |||
35 | /** |
||
36 | * Builds a thread. |
||
37 | * |
||
38 | * @return ThreadInterface |
||
39 | */ |
||
40 | public function getModelThread() |
||
62 | |||
63 | /** |
||
64 | * Returns the sender of the first message in the model thread. |
||
65 | * |
||
66 | * @return ParticipantInterface the sender of the first message in the model thread |
||
67 | */ |
||
68 | public function getSender() |
||
72 | |||
73 | /** |
||
74 | * Returns the recipient of the first message in the model thread. |
||
75 | * |
||
76 | * @return ParticipantInterface the recipient of the first message in the model thread |
||
77 | */ |
||
78 | public function getRecipient() |
||
82 | } |
||
83 |