Esempio n. 1
0
 public void WrongEventSenderTest()
 {
     WrongPerson person = new WrongPerson();
     AssertHelper.ExpectedException<AssertException>(() =>
         AssertHelper.PropertyChangedEvent(person, x => x.Name, () => person.RaiseWrongNamePropertyChanged()));
 }
        public void WrongEventSenderTest()
        {
            WrongPerson person = new WrongPerson();

            AssertHelper.ExpectedException <AssertException>(() =>
                                                             AssertHelper.PropertyChangedEvent(person, x => x.Name, () => person.RaiseWrongNamePropertyChanged()));
        }
Esempio n. 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());
 }