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