using ClawdDotNet.Web.Contracts; using Shouldly; namespace ClawdDotNet.Web.Tests; /// /// Tests for the internal agent communication A2A (#208). /// public sealed class AgentCommunicationTests { [Fact] public void AgentCommunicationDto_speichert_Felder_korrekt() { var now = DateTime.UtcNow; var dto = new AgentCommunicationDto( TargetAgentId: "editor-1", TargetAgentName: "Editor", SourceAgentId: "scout-1", SourceAgentName: "Scout", Role: "user", Content: "Bitte bearbeite Datei X", Timestamp: now); dto.TargetAgentId.ShouldBe("editor-1"); dto.TargetAgentName.ShouldBe("Editor"); dto.SourceAgentId.ShouldBe("scout-1"); dto.SourceAgentName.ShouldBe("Scout"); dto.Role.ShouldBe("user"); dto.Content.ShouldBe("Bitte bearbeite Datei X"); dto.Timestamp.ShouldBe(now); } }