| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | public function testGetBackend() |
||
| 6 | { |
||
| 7 | $mock = $this->getMockBuilder( '\Illuminate\Config\Repository' )->getMock(); |
||
| 8 | $context = $this->app->make( '\Aimeos\Shop\Base\Context' )->get( false, 'backend' ); |
||
|
|
|||
| 9 | |||
| 10 | $object = new \Aimeos\Shop\Base\Locale( $mock ); |
||
| 11 | |||
| 12 | $this->assertInstanceOf( '\Aimeos\MShop\Locale\Item\Iface', $object->getBackend( $context, 'unittest' ) ); |
||
| 13 | } |
||
| 15 |
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.