Esempio n. 1
0
        public void ControlPropertiesValid()
        {
            Assert.That(() => _validator.ControlPropertiesValid(), Throws.InvalidOperationException);

            _validator.ModelType = typeof(Booking).AssemblyQualifiedName;

            Assert.That(_validator.ControlPropertiesValid(), Is.True);
        }