1 | <?php |
||
14 | class MessageTest extends TestCase |
||
15 | { |
||
16 | /** |
||
17 | * @test |
||
18 | * @covers ::getId |
||
19 | * |
||
20 | * @return void |
||
21 | */ |
||
22 | public function getId() |
||
28 | |||
29 | /** |
||
30 | * @test |
||
31 | * @covers ::getPayload |
||
32 | * |
||
33 | * @return void |
||
34 | */ |
||
35 | public function getPayload() |
||
41 | |||
42 | /** |
||
43 | * @test |
||
44 | * @covers ::withPayload |
||
45 | * |
||
46 | * @return void |
||
47 | */ |
||
48 | public function withPayload() |
||
55 | |||
56 | /** |
||
57 | * @test |
||
58 | * @covers ::getEarliestGet |
||
59 | * |
||
60 | * @return void |
||
61 | */ |
||
62 | public function getEarliestGet() |
||
68 | |||
69 | /** |
||
70 | * @test |
||
71 | * @covers ::withEarliestGet |
||
72 | * |
||
73 | * @return void |
||
74 | */ |
||
75 | public function withEarliestGet() |
||
82 | |||
83 | /** |
||
84 | * @test |
||
85 | * @covers ::getPriority |
||
86 | * |
||
87 | * @return void |
||
88 | */ |
||
89 | public function getPriority() |
||
95 | |||
96 | /** |
||
97 | * @test |
||
98 | * @covers ::withPriority |
||
99 | * |
||
100 | * @return void |
||
101 | */ |
||
102 | public function withPriority() |
||
109 | |||
110 | /** |
||
111 | * @test |
||
112 | * @covers ::__construct |
||
113 | * @expectedException \InvalidArgumentException |
||
114 | * @expectedExceptionMessage $priority was NaN |
||
115 | * |
||
116 | * @return void |
||
117 | */ |
||
118 | public function constructWithNaNPriority() |
||
122 | |||
123 | /** |
||
124 | * @test |
||
125 | * @covers ::withPriority |
||
126 | * @expectedException \InvalidArgumentException |
||
127 | * @expectedExceptionMessage $priority was NaN |
||
128 | * |
||
129 | * @return void |
||
130 | */ |
||
131 | public function withNaNPriority() |
||
135 | } |
||
136 |