public static KongRoute GetValidKongRoute(this Fixture fixture) => KongRouteValidationScenarios.BuildRouteWithoutPlugins(fixture) .With(x => x.Plugins, fixture.CreateChildren(Children.Empty, fixture.GetValidKongPlugin, fixture.GetKongPluginWithOneError)) .Create();
public static KongRoute GetKongRouteWithOneError(this Fixture fixture) => KongRouteValidationScenarios.BuildRouteWithoutPlugins(fixture) .With(x => x.Protocols, fixture.CreateProtocols(Protocols.Null)) .Create();
public static KongRoute GetValidKongRoute(this Fixture fixture) => KongRouteValidationScenarios.BuildRouteWithoutPlugins(fixture).Create();