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