예제 #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();