예제 #1
0
        public void AddBudget_ShouldGetBudgetFromBody()
        {
            var fromBody = _budgetController.GetType()
                           .GetTypeInfo()
                           .GetMethod("AddBudget")
                           .GetParameters()
                           .Last()
                           .CustomAttributes
                           .First();

            Assert.NotNull(fromBody);
        }