public async Task GetOrdersByDateAsync_InvalidCredentials_ShouldThrow()
        {
            var invalidCreds = new LogicBrokerAccess.Configuration.LogicBrokerCredentials("invalid credentials");
            var service      = logicBrokerFactory.CreateOrdersService(invalidCreds);

            try
            {
                await service.GetOrdersByDateAsync(DateTime.UtcNow.AddMonths(-3), DateTime.UtcNow, CancellationToken.None, Mark.Blank());
            }
            catch (Exception ex)
            {
                Assert.IsTrue(ex.InnerException is LogicBrokerException);
            }
        }
 public void Init()
 {
     logicBrokerFactory = new LogicBrokerFactory(this.Config);
     ordersService      = logicBrokerFactory.CreateOrdersService(this.Credentials);
 }