| Total Complexity | 4 | 
| Total Lines | 29 | 
| Duplicated Lines | 0 % | 
| Changes | 8 | ||
| Bugs | 2 | Features | 0 | 
| 1 | <?php  | 
            ||
| 13 | final class FeatureTest extends TestCase  | 
            ||
| 14 | { | 
            ||
| 15 | protected function setUp(): void  | 
            ||
| 16 |     { | 
            ||
| 17 | Gacela::bootstrap(__DIR__);  | 
            ||
| 18 | }  | 
            ||
| 19 | |||
| 20 | public function test_unknown_facade_method(): void  | 
            ||
| 21 |     { | 
            ||
| 22 | $this->expectException(Error::class);  | 
            ||
| 23 |         $this->expectExceptionMessage('Call to undefined method ' . TestFacade::class . '::unknown()'); | 
            ||
| 24 | |||
| 25 | (new TestFacade())->unknown();  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 26 | }  | 
            ||
| 27 | |||
| 28 | public function test_facade_can_create_string(): void  | 
            ||
| 29 |     { | 
            ||
| 30 | $facade = new TestFacade();  | 
            ||
| 31 | $actual = $facade->createString();  | 
            ||
| 32 | |||
| 33 | self::assertSame(TestFactory::STR, $actual);  | 
            ||
| 34 | }  | 
            ||
| 35 | |||
| 36 | public function test_factory_access_is_explicit(): void  | 
            ||
| 42 | }  | 
            ||
| 43 | }  | 
            ||
| 44 | 
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.