Ejemplo n.º 1
0
        public async Task CopyBudget_ShouldBeOk()
        {
            var viewModel = new CopyBudgetViewModel();
            var result    = await _budgetController.CopyBudget(viewModel);

            Assert.Same(viewModel, _copyBudgetCommand.ViewModel);
            Assert.IsType <OkResult>(result);
        }