public void Create_return_a_new_instance()
        {
            var activator = new DefaultStructuralTypeConfigurationActivator();

            var instance = activator.Create(typeof(EntityMap));

            Assert.True(typeof(EntityMap).IsInstanceOfType(instance));

        }
        public void Create_throw_exception_if_configuration_dont_have_default_constructor()
        {
            var activator = new DefaultStructuralTypeConfigurationActivator();

            Assert.Throws<InvalidOperationException>(() =>
            {
                activator.Create(typeof(EntityMapWithoutDefaultConstructor));
            });
        }