Creates the Route to be used in Akka Http TestKit.
Creates the Route to be used in Akka Http TestKit.
The RouteDefinition to be tested
The web context to simulate
The ActorSystem. This will be supplied implicitly if using the ScalaTestRouteTest trait from Akka Http.
The Route to be used for testing.
Creates the Route to be used in Akka Http TestKit.
Creates the Route to be used in Akka Http TestKit.
The RouteDefinition to be tested
The ActorSystem. This will be supplied implicitly if using the ScalaTestRouteTest trait from Akka Http.
The Route to be used for testing.
The TestRoute is used for creating a Route to be used with the Akka Http TestKit, from a RouteDefinition. While a RouteDefinition is easy to define, it is actually not easy to instantiate.