### Question:
CaptchaNoJsHtmlParser { public void parseCParameter( String responseHtml, CaptchaInfo captchaInfo ) throws CaptchaNoJsV2ParsingError { Matcher matcher = cParameterPattern.matcher(responseHtml); if (!matcher.find()) { throw new CaptchaNoJsV2ParsingError("Could not parse c parameter"); } String cParameter; try { cParameter = matcher.group(1); } catch (Exception error) { throw new CaptchaNoJsV2ParsingError("Error while trying to parse c parameter", error); } if (cParameter == null) { throw new CaptchaNoJsV2ParsingError("cParameter is null"); } if (cParameter.isEmpty()) { throw new CaptchaNoJsV2ParsingError("cParameter is empty"); } captchaInfo.setcParameter(cParameter); } CaptchaNoJsHtmlParser(Context context, OkHttpClient okHttpClient); @NonNull CaptchaInfo parseHtml(String responseHtml, String siteKey); void parseChallengeTitle(
            String responseHtml,
            CaptchaInfo captchaInfo
    ); void parseCParameter(
            String responseHtml,
            CaptchaInfo captchaInfo
    ); void parseCheckboxes(
            String responseHtml,
            CaptchaInfo captchaInfo
    );  }### Answer:
@Test public void testCValueParsing() throws CaptchaNoJsHtmlParser.CaptchaNoJsV2ParsingError { for (int i = 0; i < inputDataList.size(); ++i) { String inputData = inputDataList.get(i); CaptchaInfo captchaInfo = new CaptchaInfo(); parser.parseCParameter(inputData, captchaInfo); String cParameter = captchaInfo.cParameter; assertEquals(resultCParameterList.get(i), cParameter); } }