@@ 211-217 (lines=7) @@ | ||
208 | * @expectedExceptionMessageRegExp /Missing data for/ |
|
209 | * @group abstractEP |
|
210 | */ |
|
211 | public function testInvalidData(){ |
|
212 | $Stub = new EntryPointStub($this->url); |
|
213 | $Stub->setOptions($this->options); |
|
214 | $Stub->setRequest(new POST()); |
|
215 | $Stub->setData(array()); |
|
216 | $Stub->execute(); |
|
217 | } |
|
218 | ||
219 | /** |
|
220 | * @covers ::execute |
|
@@ 225-230 (lines=6) @@ | ||
222 | * @expectedExceptionMessageRegExp /Request property not configured/ |
|
223 | * @group abstractEP |
|
224 | */ |
|
225 | public function testInvalidRequest(){ |
|
226 | $Stub = new EntryPointStub($this->url); |
|
227 | $Stub->setOptions($this->options); |
|
228 | $Stub->setData($this->data); |
|
229 | $Stub->execute(); |
|
230 | } |
|
231 | ||
232 | ||
233 |