public AddressEditChild_Tests(ITestOutputHelper testOutputHelper)
        {
            _testOutputHelper = testOutputHelper;

            var builder = new ConfigurationBuilder()
                          .SetBasePath(Directory.GetCurrentDirectory())
                          .AddJsonFile("appsettings.json", optional: true, reloadOnChange: true);

            _config = builder.Build();
            var testLibrary = _config.GetValue <string>("TestLibrary");

            if (testLibrary == "Mock")
            {
                MockDb.ResetMockDb();
            }
            else
            {
                if (!IsDatabaseBuilt)
                {
                    var adoDb = new ADODb();
                    adoDb.BuildMemberManagerADODb();
                    IsDatabaseBuilt = true;
                }
            }
        }
        public CslaBaseTest()
        {
            var builder = new ConfigurationBuilder()
                          .SetBasePath(Directory.GetCurrentDirectory())
                          .AddJsonFile("appsettings.json", optional: true, reloadOnChange: true);
            var _config     = builder.Build();
            var testLibrary = _config.GetValue <string>("TestLibrary");

            if (testLibrary == "Mock")
            {
                MockDb.ResetMockDb();
            }
            else if (testLibrary == "ADO")
            {
                if (!IsDatabaseBuilt)
                {
                    var adoDb = new ADODb();
                    adoDb.BuildMemberManager();
                }
            }
            else if (testLibrary == "EF")
            {
                if (!IsDatabaseBuilt)
                {
                    var efDb = new EFDb();
                    efDb.BuildMemberManager();
                }
            }

            IsDatabaseBuilt = true;
        }