Ejemplo n.º 1
0
        public void CreateBill_InvalidServiceCategoryPassed_ReturnsBadRequestResult()
        {
            BillCreateDto bill = new BillCreateDto()
            {
                ClientId = 100, category = "PHONE", period = 202002, Amount = 200
            };
            var response = controller.CreateBill(bill);

            Assert.IsType <BadRequestResult>(response.Result);
        }