public void GetDefaultConventions_should_return_conventions_for_each_configured_type()
        {
            var configurator =
                new TypeDefaultConventionConfigurator();

            configurator.ForType<string>();
            configurator.ForType<object>();

            var conventions =
                configurator.GetDefaultConventions();

            conventions.Count().ShouldEqual(2);
        }
Beispiel #2
0
        public void GetDefaultConventions_should_return_conventions_for_each_configured_type()
        {
            var configurator =
                new TypeDefaultConventionConfigurator();

            configurator.ForType <string>();
            configurator.ForType <object>();

            var conventions =
                configurator.GetDefaultConventions();

            conventions.Count().ShouldEqual(2);
        }
        public void ForType_should_not_return_null()
        {
            var configurator =
                new TypeDefaultConventionConfigurator();

            var builder =
                configurator.ForType<object>();

            builder.ShouldNotBeNull();
        }
Beispiel #4
0
        public void ForType_should_not_return_null()
        {
            var configurator =
                new TypeDefaultConventionConfigurator();

            var builder =
                configurator.ForType <object>();

            builder.ShouldNotBeNull();
        }