Mock the SellerMagnet API in Kotlin Tests Without Spending Credits
Test the Kotlin client that calls the SellerMagnet API without hitting it: a real local com.sun.net.httpserver.HttpServer stands in for the live API through Client.kt's own SELLERMAGNET_API_BASE constructor seam, left completely unmodified, with a 22-scenario suite covering every billed, free and refunded status code, a real client timeout and a verified-live finding that a refused connection is an uncaught exception, never an ApiError.