public void Testwts.ItemNameViewModelCreation() { // This test is trivial. Add your own tests for the logic you add to the ViewModel. var vm = new wts.ItemNameViewModel(); Assert.IsNotNull(vm); }
public void Testwts.ItemNameViewModelCreation() { // This test is trivial. Add your own tests for the logic you add to the ViewModel. var mockDataService = new Mock <ISampleDataService>(); var vm = new wts.ItemNameViewModel(mockDataService.Object); Assert.IsNotNull(vm); }
public void Testwts.ItemNameViewModelCreation() { // This test is trivial. Add your own tests for the logic you add to the ViewModel. var mockNavService = new Mock <INavigationService>(); var mockAnimationService = new Mock <IConnectedAnimationService>(); var vm = new wts.ItemNameViewModel(mockNavService.Object, mockAnimationService.Object); Assert.NotNull(vm); }