Esempio n. 1
0
        public void ThenValidIfAllPropertiesSpecified()
        {
            _validCommand.Commitment = null;

            var result = _validator.Validate(TestHelper.Clone(_validCommand));

            Assert.IsFalse(result.IsValid);
        }
 public void WhenCommandIsNullIsInvalid()
 {
     Assert.Throws <ArgumentNullException>(() => _validator.Validate(null));
 }