Files
agent-framework/dotnet/tests/Microsoft.Agents.AI.Workflows.Declarative.UnitTests/Events/InputRequestTest.cs
T
2025-10-17 00:44:19 +00:00

20 lines
543 B
C#

// Copyright (c) Microsoft. All rights reserved.
using Microsoft.Agents.AI.Workflows.Declarative.Events;
using Xunit.Abstractions;
namespace Microsoft.Agents.AI.Workflows.Declarative.UnitTests.Events;
/// <summary>
/// Base class for event tests.
/// </summary>
public sealed class InputRequestTest(ITestOutputHelper output) : EventTest(output)
{
[Fact]
public void VerifySerialization()
{
InputRequest copy = VerifyEventSerialization(new InputRequest("wassup"));
Assert.Equal("wassup", copy.Prompt);
}
}