public void AllTestDomainsHaveSameConfigurationUntilInvalidated()
        {
            IExpandableDomain domain1 = new TestDomain();
            IExpandableDomain domain2 = new TestDomain();

            Assert.Same(domain2.Configuration, domain1.Configuration);
            DomainConfiguration.Invalidate(domain1.GetType());
            IExpandableDomain domain3 = new TestDomain();

            Assert.NotSame(domain3.Configuration, domain2.Configuration);
        }
 public void AllTestDomainsHaveSameConfigurationUntilInvalidated()
 {
     IExpandableDomain domain1 = new TestDomain();
     IExpandableDomain domain2 = new TestDomain();
     Assert.Same(domain2.Configuration, domain1.Configuration);
     DomainConfiguration.Invalidate(domain1.GetType());
     IExpandableDomain domain3 = new TestDomain();
     Assert.NotSame(domain3.Configuration, domain2.Configuration);
 }