Path: redb-route/tests/redb.Route.Tests.Mail/ComponentSideTests.cs Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route Page: https://redbase.app/src/dev-2026-12-06/redb-route/tests/redb.Route.Tests.Mail/ComponentSideTests.cs ---- using redb.Route.Core; using redb.Route.Mail; namespace redb.Route.Tests.Mail; /// The component declares the only side it has ([EndpointRole], Apache Camel's producerOnly / consumerOnly). public sealed class ComponentSideTests { [Fact] public void The_component_declares_its_only_side() { EndpointSides.Declaration(typeof(SmtpComponent))!.Role.Should().Be(EndpointRole.Producer); EndpointSides.Declaration(typeof(ImapComponent))!.Role.Should().Be(EndpointRole.Consumer); EndpointSides.Declaration(typeof(Pop3Component))!.Role.Should().Be(EndpointRole.Consumer); } }