コード例 #1
0
 public static KongRoute GetValidKongRoute(this Fixture fixture) => KongRouteValidationScenarios.BuildRouteWithoutPlugins(fixture)
 .With(x => x.Plugins, fixture.CreateChildren(Children.Empty, fixture.GetValidKongPlugin, fixture.GetKongPluginWithOneError))
 .Create();
コード例 #2
0
 public static KongRoute GetKongRouteWithOneError(this Fixture fixture) => KongRouteValidationScenarios.BuildRouteWithoutPlugins(fixture)
 .With(x => x.Protocols, fixture.CreateProtocols(Protocols.Null))
 .Create();
コード例 #3
0
 public static KongRoute GetValidKongRoute(this Fixture fixture) => KongRouteValidationScenarios.BuildRouteWithoutPlugins(fixture).Create();