예제 #1
0
        public async Task RegisterResponse_Success()
        {
            var dto = new ResponseDto
            {
                Body       = "body",
                Method     = "GET",
                Route      = "/route",
                StatusCode = 201
            };

            var result = await _controller.RegisterResponse(dto);

            result.Should().BeOfType <OkResult>();
        }