public async void CallCompletedOrderCheker()
            {
                var config = new Config
                {
                    ExternalSimCardsProviderApiUrl = "http://api:5000"
                };
                var expectedOrder = new SimCardOrder()
                {
                    MobileOrderId = Guid.NewGuid(),
                    Name          = "Neil Armstrong",
                    Status        = "Sent"
                };
                var dataStoreMock = new Mock <ISimCardOrdersDataStore>();

                dataStoreMock.Setup(x => x.GetSent())
                .Returns(new[] { expectedOrder });
                var completedOrderChecker = new Mock <ICompletedOrderChecker>();

                var sut = new CompletedOrderPollingHostedService(Options.Create(config), Mock.Of <ILogger <CompletedOrderPollingHostedService> >(),
                                                                 dataStoreMock.Object,
                                                                 completedOrderChecker.Object);

                await sut.DoWork();

                completedOrderChecker.Verify(x => x.Check(expectedOrder));
            }
            public async void CallExternalService()
            {
                var config = new Config
                {
                    ExternalMobileTelecomsNetworkApiUrl = "http://api:5000"
                };
                var expectedOrder = new Order()
                {
                    MobileOrderId = Guid.NewGuid()
                };
                var dataStoreMock = new Mock <IDataStore>();

                dataStoreMock.Setup(x => x.GetSent())
                .Returns(new[] { expectedOrder });
                var activateOrderChecker = new Mock <IOrderCompletedChecker>();
                var options = Options.Create(config);

                var sut = new CompletedOrderPollingHostedService(options, Mock.Of <ILogger <CompletedOrderPollingHostedService> >(),
                                                                 dataStoreMock.Object,
                                                                 activateOrderChecker.Object);

                await sut.DoWork();

                activateOrderChecker.Verify(x => x.Check(expectedOrder));
            }