public void WrongEventSenderTest()
        {
            WrongCommand command = new WrongCommand();

            AssertHelper.ExpectedException<AssertException>(() =>
                AssertHelper.CanExecuteChangedEvent(command, () => command.RaiseCanExecuteChanged()));
        }
        public void WrongEventSenderTest()
        {
            var command = new WrongCommand();

            AssertHelper.ExpectedException <AssertException>(() =>
                                                             AssertHelper.CanExecuteChangedEvent(command, () => command.RaiseCanExecuteChanged()));
        }
        public void WrongEventSenderTest()
        {
            WrongCommand command = new WrongCommand();

            AssertHelper.CanExecuteChangedEvent(command, () => command.RaiseCanExecuteChanged());
        }
Exemple #4
0
        public void WrongEventSenderTest()
        {
            WrongCommand command = new WrongCommand();

            AssertHelper.CanExecuteChangedEvent(command, () => command.RaiseCanExecuteChanged());
        }