| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 36 | protected function getMockConnector() |
||
| 37 | { |
||
| 38 | $mock = $this->getMockBuilder('Communibase\Connector') |
||
| 39 | ->setMethods(['getResult']) |
||
| 40 | ->disableOriginalConstructor() |
||
| 41 | ->getMock(); |
||
| 42 | |||
| 43 | $mock->expects($this->any()) |
||
| 44 | ->method('getResult') |
||
| 45 | ->will($this->returnValue(new FulfilledPromise([]))); |
||
| 46 | |||
| 47 | return $mock; |
||
| 48 | } |
||
| 49 | } |
||
| 50 |