Пример #1
0
 public void WrongEventSenderTest()
 {
     WrongPerson person = new WrongPerson();
     AssertHelper.ExpectedException<AssertException>(() =>
         AssertHelper.PropertyChangedEvent(person, x => x.Name, () => person.RaiseWrongNamePropertyChanged()));
 }
Пример #2
0
        public void WrongEventSenderTest()
        {
            WrongPerson person = new WrongPerson();

            AssertHelper.ExpectedException <AssertException>(() =>
                                                             AssertHelper.PropertyChangedEvent(person, x => x.Name, () => person.RaiseWrongNamePropertyChanged()));
        }
Пример #3
0
        public void WrongEventSenderTest()
        {
            WrongPerson person = new WrongPerson();

            AssertHelper.IsRaisePropertyChangedEvent(person, x => x.Name, () => person.RaiseWrongNamePropertyChanged());
        }
 public void WrongEventSenderTest()
 {
     WrongPerson person = new WrongPerson();
     AssertHelper.IsRaisePropertyChangedEvent(person, x => x.Name, () => person.RaiseWrongNamePropertyChanged());
 }