79543932

Date: 2025-03-29 21:50:57
Score: 0.5
Natty:
Report link

You could write something like this: (if you're using mockk)

mockk<HttpResponse>(relaxed = true) {
        every { status } returns 200
        every { rawContent } returns ByteReadChannel("body")
    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Yauheni Mokich