{"record":{"id":"1a09d10e2625dddc","repo":"microsoft/semantic-kernel","slug":"this-method-is-not-implemented-in-this-test-fixtur","errorCode":null,"errorMessage":"This method is not implemented in this test fixture.","messagePattern":"This method is not implemented in this test fixture\\.","errorType":"exception","errorClass":"NotImplementedException","httpStatus":null,"severity":"warning","filePath":"dotnet/src/Experimental/Process.IntegrationTestRunner.Local/ProcessTestFixture.cs","lineNumber":37,"sourceCode":"    /// <param name=\"kernel\">An instance of <see cref=\"Kernel\"/></param>\n    /// <param name=\"initialEvent\">An optional initial event.</param>\n    /// <param name=\"externalMessageChannel\">channel used for external messages</param>\n    /// <returns>A <see cref=\"Task{KernelProcessContext}\"/></returns>\n    public async Task<KernelProcessContext> StartProcessAsync(KernelProcess process, Kernel kernel, KernelProcessEvent initialEvent, IExternalKernelProcessMessageChannel? externalMessageChannel = null)\n    {\n        return await process.StartAsync(kernel, initialEvent, externalMessageChannel);\n    }\n\n    /// <summary>\n    /// Starts the specified process.\n    /// </summary>\n    /// <param name=\"key\"></param>\n    /// <param name=\"processId\"></param>\n    /// <param name=\"initialEvent\"></param>\n    /// <returns></returns>\n    public Task<KernelProcessContext> StartAsync(string key, string processId, KernelProcessEvent initialEvent)\n    {\n        throw new NotImplementedException(\"This method is not implemented in this test fixture.\");\n    }\n}\n","sourceCodeStart":19,"sourceCodeEnd":40,"githubUrl":"https://github.com/microsoft/semantic-kernel/blob/c028a0c7dc4f0814cdcbaba9d998f187a41197bf/dotnet/src/Experimental/Process.IntegrationTestRunner.Local/ProcessTestFixture.cs#L19-L40","documentation":"Thrown by the Local runtime `ProcessTestFixture.StartAsync(string key, string processId, KernelProcessEvent initialEvent)` because this 3-arg overload is intentionally not implemented for the local fixture. The local fixture only supports starting from an already-built `KernelProcess` instance (the other `StartAsync` overload). It is a NotImplementedException.","triggerScenarios":"Call the keyed overload `StartAsync(string key, string processId, KernelProcessEvent)` on the local test fixture; shared test code that abstracts over both Dapr and Local fixtures and invokes the keyed-start contract.","commonSituations":"Porting tests from the Dapr fixture (which supports keyed start) to the Local fixture; generic test harnesses that call the keyed overload regardless of runtime.","solutions":["Use the Local-fixture overload that starts from a `KernelProcess` instance instead of the keyed lookup.","If you need keyed start in local tests, implement/override the method or pre-build and cache the process by key.","Branch test code by fixture type to call the supported start method."],"exampleFix":"// before\nawait fixture.StartAsync(\"myKey\", \"procId\", initialEvent); // throws in local fixture\n// after\nvar process = BuildProcessByKey(\"myKey\");\nawait fixture.StartProcessAsync(process, kernel, initialEvent);","handlingStrategy":"type-guard","validationCode":"if (fixture is LocalProcessTestFixture)\n    throw new NotSupportedException(\"Local fixture does not support keyed StartAsync; build the KernelProcess and call StartProcessAsync instead.\");\nawait fixture.StartAsync(key, processId, initialEvent);","typeGuard":"bool SupportsKeyedStart(ProcessTestFixture fixture) => fixture is not LocalProcessTestFixture;","tryCatchPattern":"try { await fixture.StartAsync(key, processId, initialEvent); }\ncatch (NotImplementedException ex) when (ex.Message.Contains(\"not implemented in this test fixture\"))\n{ _logger.LogWarning(ex, \"Falling back to process-instance start for local fixture.\"); /* use other overload */ }","preventionTips":["Branch test code by fixture type and use the supported start overload.","Document which fixtures support keyed start vs. instance start."],"tags":["process-framework","integration-tests","local-runtime","api-contract","not-implemented"],"backgroundTag":null,"analyzedSha":"c028a0c7dc4f0814cdcbaba9d998f187a41197bf","analyzedAt":"2026-08-13T13:48:05.040Z","schemaVersion":2},"datasetVersion":"2026-08-13T14:17:21.547Z"}