Path: redb-route/tests/redb.Route.Tests.Ftp/FtpConnectionFactoryLoudTests.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.Ftp/FtpConnectionFactoryLoudTests.cs ---- using redb.Route.Core; using redb.Route.Ftp; namespace redb.Route.Tests.Ftp; /// /// A set-but-unknown connectionFactory name must fail loud — /// never silently fall back to URI parameters. /// public sealed class FtpConnectionFactoryLoudTests { [Fact] public async Task ConnectionFactoryTypo_FailsLoud() { await using var ctx = new RouteContext(); ctx.AddComponent(new FtpComponent()); var act = () => ctx.GetEndpoint("ftp://host/inbox?connectionFactory=typo-name&username=u&password=p"); act.Should().Throw() .Which.Message.Should().Contain("typo-name"); } }