// Copyright (c) Microsoft. All rights reserved. using System; using System.Threading.Tasks; using Microsoft.Agents.AI; namespace AgentConformance.IntegrationTests.Support; /// /// Helper class to delete sessions after tests. /// /// The session to delete. /// The fixture that provides agent specific capabilities. public sealed class SessionCleanup(AgentSession session, IAgentFixture fixture) : IAsyncDisposable { public async ValueTask DisposeAsync() => await fixture.DeleteSessionAsync(session); }