Ejemplo n.º 1
0
        public void Constructor_ShouldInitializeNavigateToUrlCommand()
        {
            //---------------Set up test pack-------------------

            //---------------Assert Precondition----------------

            //---------------Execute Test ----------------------
            var viewModel = new FeedbackDisplayViewModel();

            //---------------Test Result -----------------------
            Assert.IsNotNull(viewModel.NavigateToUrlCommand);
        }
Ejemplo n.º 2
0
        private static FeedbackDisplayViewModel CreateViewModel()
        {
            var viewModel = new FeedbackDisplayViewModel(Substitute.For <INavigateToUrlCommand>());

            return(viewModel);
        }