private static IServiceProvider GetServiceProvider(string data)
        {
            var externalService = new ExternalService();

            externalService.SetResult(data, 1);
            var serviceProvider = new MockServiceProvider();

            serviceProvider.SetService("ExternalService", externalService);
            return(serviceProvider);
        }