コード例 #1
0
        public async Task Post_Should_Return_OK_Status()
        {
            var DtoModel = new FloristOrderDTO();
            var result   = await controller.Post(DtoModel);

            Assert.IsType <OkResult>(result);
        }
コード例 #2
0
        public async Task Delete_Should_Return_OK()
        {
            var DtoModel = new FloristOrderDTO();
            var result   = await controller.Post(DtoModel);

            var okObject = Assert.IsType <OkResult>(result);
        }