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>(); }