// ###################### | #############################################################
// CLASS ................ | SOFTWARE DEVELOPMENT CAPSTONE (C868) ........................
// ASSIGNMENT ........... | C# PERFORMANCE ASSESSMENT ...................................
// TASK ................. | EZP1 TASK 2: SOFTWARE APPLICATION AND DOCUMENTATION .........
// ###################### | #############################################################
// WGU STUDENT .......... | Mark K Ewer .................................................
// STUDENT ID ........... | 001094518 ...................................................
// DEGREE PROGRAM ....... | B.S. in Software Development ................................
// ENROLLED ON .......... | Feb 1, 2019 .................................................
// MENTOR ............... | Becky Stovall ...............................................
// PHONE ................ | (904) 238-7347 ..............................................
// TIME ZONE ............ | Eastern Time ................................................
// EMAIL ................ | MEwer@wgu.edu or Mark@3w3r.com ..............................
// WEB SITE ............. | http://www.markewer.com .....................................
// ###################### | #############################################################
namespace Ewer.Cqrs.Testing
{
    using System;
    using Ewer.Cqrs.Config.Configurers;

    public static class TestContextConfigurationExtensions
    {
        /// <summary>
        ///   Configures the TestContext to not wait for views to catch up
        /// </summary>
        public static void Asynchronous(this OptionsConfigurationBuilder builder)
        {
            builder.RegisterInstance<Action<TestContext>>(o => o.Asynchronous = true, multi: true);
        }
    }
}
