public override void Arrange()
        {
            base.Arrange();

            Request = new GetSubscriptionIds {
                QueryName = EpcisQueries.First().Name
            };
        }
        public override void Arrange()
        {
            base.Arrange();

            SubscriptionManager = A.Fake <ISubscriptionManager>();
            Request             = new Subscription {
                SubscriptionId = "TestSubscription", Trigger = "trigger", Destination = "NotAValidUri", QueryName = EpcisQueries.First(x => x.AllowSubscription).Name
            };

            A.CallTo(() => UnitOfWork.SubscriptionManager).Returns(SubscriptionManager);
            A.CallTo(() => SubscriptionManager.GetById("TestSubscription", default)).Returns(Task.FromResult(default(Subscription)));
        }
        public override void Arrange()
        {
            base.Arrange();

            SubscriptionManager = A.Fake <ISubscriptionManager>();
            Request             = new Subscription {
                SubscriptionId = "TestSubscription", Destination = "http://test.com/callback", QueryName = EpcisQueries.First(x => x.AllowSubscription).Name
            };

            A.CallTo(() => UnitOfWork.SubscriptionManager).Returns(SubscriptionManager);
        }