Exemplo n.º 1
0
        public void CanBind_returns_false_when_string()
        {
            IEnumerableValueBinder valueBinder = new IEnumerableValueBinder(new Configuration());

            valueBinder.CanBind(typeof(string)).MustBeFalse();
        }
Exemplo n.º 2
0
        public void CanBind_returns_true_ienumerable()
        {
            IEnumerableValueBinder valueBinder = new IEnumerableValueBinder(new Configuration());

            valueBinder.CanBind(typeof(IEnumerable <DateTime>)).MustBeTrue();
        }