The ws.Response class is very hard to dummy up as it wraps a concrete instance of
the ning http Response. This trait exposes just the bits of the response that we
need in methods that we are passing the response to for processing, making it
much easier to provide dummy data in our specs.
The ws.Response class is very hard to dummy up as it wraps a concrete instance of the ning http Response. This trait exposes just the bits of the response that we need in methods that we are passing the response to for processing, making it much easier to provide dummy data in our specs.