public function testStaticApiGetBasename_ReturnsThrowableBasename_ForError() { $base = $this->callProtectedMethod(Throwable::class, 'getBasename', [Error::class]); $this->assertSame('Error', $base); }