| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | public function testGetCommonClient() |
||
| 36 | { |
||
| 37 | $this->configHelper->expects($this->once()) |
||
|
|
|||
| 38 | ->method('getApiUrl') |
||
| 39 | ->willReturn('http://example.com'); |
||
| 40 | |||
| 41 | $this->configHelper->expects($this->once()) |
||
| 42 | ->method('getApiToken') |
||
| 43 | ->willReturn('API_TOKEN'); |
||
| 44 | |||
| 45 | $this->client->getAbandonedCartApi(); |
||
| 46 | } |
||
| 48 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.