Beispiel #1
0
        public void ShouldRaisePropertyChengedEventForCustomer()
        {
            var customerWrapperMock = new Mock <ICustomerWrapper>();
            var fired = _customerViewModel.IsPropertyChangedFired(() =>
            {
                _customerViewModel.Customer = customerWrapperMock.Object;
            }, nameof(_customerViewModel.Customer));

            Assert.True(fired);
        }