Extension for configuring the mock service.
The port the mock service shall listen upon.
Lets the user configure routes for the mock service.
Starts the mock service. Fails if the service is already running.
Stops the mock service. Fails if the service is not running.
Wraps tasks (selected by name) in such a way that the mock service is started before them, and stopped after them.