createMock(SymfonySession::class); $extension = new Session($session); $functions = $extension->getFunctions(); $this->assertExtensionExists('session_get', [$session, 'get'], $functions); $this->assertExtensionExists('session_set', [$session, 'set'], $functions); } }