public void BaseViewModel_Cancel_Should_Close_Window() { var vm = new TestViewModel(_viewMock.Object); vm.Cancel(); _viewMock.Verify(v => v.Close(), Times.Once()); }
public void BaseViewModel_Cancel_Should_Close_Window() { var vm = new TestViewModel(_viewMock.Object); vm.Cancel(); _viewMock.Verify(v => v.Close(), Times.Once()); }