Path: redb-route/tests/redb.Route.Tests.Amqp/ConsumerShapedEntryPointTests.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.Amqp/ConsumerShapedEntryPointTests.cs ---- using AwesomeAssertions; using redb.Route.Amqp; // A namespace outside redb.Route and the one using a consumer writes: the entry point must be reachable by its short // name. AMQPNetLite's root namespace `Amqp` (with its type `Address`) shadowed a class of that name, so // `Amqp.Address(...)` did not compile in a consumer's file; this file is the compile check for the short name. namespace Shop.Integration.AmqpConsumerCheck; public class ConsumerShapedEntryPointTests { [Fact] public void TheEntryPoint_IsReachableByItsShortName_WithOnlyThePackageUsing() { string uri = AmqpDsl.Address("orders").Host("amqp.local").Port(5672); uri.Should().StartWith("amqp:orders"); uri.Should().Contain("host=amqp.local"); } }