// ToDo: Must do better!!
        private void ConfigureNotificationStackMock(JustSaying.JustSayingFluently fns)
        {
            var constructedStack = (JustSaying.JustSayingBus)fns.Bus;

            Bus = Substitute.For <IAmJustSaying>();
            Bus.Config.Returns(constructedStack.Config);

            fns.Bus = Bus;
        }
        public async Task InitializeAsync()
        {
            Given();

            try
            {
                SystemUnderTest = CreateSystemUnderTest();
                await WhenAsync().ConfigureAwait(false);
            }
            catch (Exception ex) when(_recordThrownExceptions)
            {
                ThrownException = ex;
            }
        }
 private void ConfigureAmazonQueueCreator(JustSaying.JustSayingFluently fns)
 {
     fns.GetType()
     .GetField("_amazonQueueCreator", BindingFlags.Instance | BindingFlags.NonPublic)?.SetValue(fns, QueueVerifier);
 }