보통 네트워크 통신 테스트를 위해 OkHttp의 MockWebServer를 많이 사용하는데,해당 라이브러리 없이 테스트 서버를 구현하고 실제 테스트 코드를 작성해보도록 하겠다. private var httpsServer: HttpsServer? = nullprivate var httpServer: HttpServer? = nullfun start() { httpsServer = HttpsServer.create(InetSocketAddress(MOCK_PORT_HTTPS), 0).apply { httpsConfigurator = getTestHttpsConfigurator() createContexts() executor = null start() ..