Utility class for providing the application context to a service, including lifecycle hooks and injecting all dependencies
You can optionally provide an array of plugins, which should generally be stub implementations
of interfaces used in your applications. These can be stubbed using the stub()
method.