Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function testGetCommonClient() |
||
31 | { |
||
32 | $this->configHelper->expects($this->once()) |
||
|
|||
33 | ->method('getApiUrl') |
||
34 | ->willReturn('http://example.com'); |
||
35 | |||
36 | $this->configHelper->expects($this->once()) |
||
37 | ->method('getApiToken') |
||
38 | ->willReturn('API_TOKEN'); |
||
39 | |||
40 | $this->client->getAbandonedCartApi(); |
||
41 | } |
||
43 |
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.