public void CloneTest()
        {
            var          config    = new DomainConfiguration();
            TypeRegistry registry1 = config.Types;

            registry1.Register(typeof(A).Assembly, "Xtensive.Orm.Tests.RegistryModel1");
            var registry2 = registry1.Clone() as TypeRegistry;

            Assert.IsNotNull(registry2);
            Assert.AreEqual(registry1.Count, registry2.Count);
        }