Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function testConstruct() |
||
19 | { |
||
20 | $data = ['foo' => 'bar']; |
||
21 | $request = $this->getMockRequest(); |
||
22 | $this->response = m::mock('\IBM\Watson\Common\Message\AbstractResponse', [$request, $data])->makePartial(); |
||
23 | |||
24 | $this->assertSame($request, $this->response->getRequest()); |
||
25 | $this->assertSame($data, $this->response->getData()); |
||
26 | } |
||
27 | |||
35 |