Small code refactorings for adding functions to this.moduleFns
setupResults and mockTemplates methods are saved to this.postInjectFns which are executed when calling .go(). This makes all mox methods chainable in one chain, and the order of method calls doesn't matter anymore.
moduleFns and postInjectFns are now private.
Create mocks based on the original service by injecting it and copy its methods as spies. Defining a mock factory using moxConfig is still possible.