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