concept server.inject in category hapi
appears as: server.inject

This is an excerpt from Manning's book hapi.js in Action.
server.inject() is a method that allows you to simulate a request to your hapi server. It pushes a request through your routes without the need for any network interaction. This is incredibly useful for building fast tests.