Exemplo n.º 1
0
        public void GetDishById_Success_Result()
        {
            DishesController.SetMediatrForTest(Mediator.Object);

            //Action
            var result = DishesController.Details(new ObjectId().ToString());

            //Assert
            Assert.IsType <Task <ActionResult <ResponseWrapper <DishDto> > > >(result);
        }