Add `withMockedModuleResolves` method