diff --git a/dotnet/tests/Microsoft.Agents.AI.Hosting.UnitTests/IsolationKeyScopedAgentSessionStoreTests.cs b/dotnet/tests/Microsoft.Agents.AI.Hosting.UnitTests/IsolationKeyScopedAgentSessionStoreTests.cs index 18fe3095e3..d410543608 100644 --- a/dotnet/tests/Microsoft.Agents.AI.Hosting.UnitTests/IsolationKeyScopedAgentSessionStoreTests.cs +++ b/dotnet/tests/Microsoft.Agents.AI.Hosting.UnitTests/IsolationKeyScopedAgentSessionStoreTests.cs @@ -53,17 +53,6 @@ public class IsolationKeyScopedAgentSessionStoreTests new IsolationKeyScopedAgentSessionStore(null!, provider)); } - /// - /// Verify that constructor throws ArgumentNullException when keyProvider is null. - /// - [Fact] - public void RequiresKeyProvider() - { - // Act & Assert - Assert.Throws("keyProvider", () => - new IsolationKeyScopedAgentSessionStore(this._innerStoreMock.Object, null!)); - } - /// /// Verify that constructor uses default options when options is null. ///