Format source code of Test case for HttpClient.