A request fixture emulates a request, and the effective state of the request handling in the handler pipeline.
A request fixture can be obtained by the {@link ratpack.test.UnitTest#requestFixture()} method.However it is often more convenient to use the alternative {@link ratpack.test.UnitTest#handle(ratpack.handling.Handler,ratpack.func.Action)} method.
See {@link ratpack.test.UnitTest} for usage examples. @see ratpack.test.UnitTest @see #handle(ratpack.handling.Handler)
|
|
|
|