public void BaseWorkSurfaceViewModel_Constructor_NullEventPublisher_ThrowsArgumentNullException() { //------------Setup for test-------------------------- //------------Execute Test--------------------------- var viewModel = new BaseWorkSurfaceViewModel(null); //------------Assert Results------------------------- }
public void BaseWorkSurfaceViewModel_CanSave_ReturnsTrue() { //------------Setup for test-------------------------- var viewModel = new BaseWorkSurfaceViewModel(new Mock<IEventAggregator>().Object); //------------Execute Test--------------------------- var result = viewModel.CanSave; //------------Assert Results------------------------- Assert.IsTrue(result); }