Exemplo n.º 1
0
        public void TestThat_ValidationOfEmptyConstructorSecceeds()
        {
            var op           = new MyRemoteOpWithMultipleConstructors();
            var notification = new Notification();

            Assert.That(op.IsValid(notification), Is.True);
            Assert.That(notification.HasErrors, Is.False);
        }
Exemplo n.º 2
0
        public void TestThat_ValidationOfMultipleConstructorsSucceeds()
        {
            var op           = new MyRemoteOpWithMultipleConstructors("asdf", new ComplexObj());
            var notification = new Notification();

            Assert.That(op.IsValid(notification), Is.True);
            Assert.That(notification.HasErrors, Is.False);
        }
 public void TestThat_ValidationOfMultipleConstructorsSucceeds()
 {
     var op = new MyRemoteOpWithMultipleConstructors("asdf", new ComplexObj());
     var notification = new Notification();
     Assert.That(op.IsValid(notification), Is.True);
     Assert.That(notification.HasErrors, Is.False);
 }
 public void TestThat_ValidationOfEmptyConstructorSecceeds()
 {
     var op = new MyRemoteOpWithMultipleConstructors();
     var notification = new Notification();
     Assert.That(op.IsValid(notification), Is.True);
     Assert.That(notification.HasErrors, Is.False);
 }