ResponseContentParser { public static String extractValidateValue(String value) { if (value.length() > 1 && value.charAt(0) == '=' && value.charAt(1) != '=') { value = value.substring(1); } else { for (ValidationType type : ValidationType.values()) { if (value.startsWith(type.getValue())) { value = value.substring(type.getValue().length()); break; } } } return value; }  static String extractOperator(RequestData data); static String extractValidateValue(String value); static String extractCondition(String conditionStr);  }
@Test public void testExtractValidateValue_1() throws Exception { String value = ""; String result = ResponseContentParser.extractValidateValue(value); assertNotNull(result); }
@Test public void testExtractValidateValue_2() throws Exception { String value = "aaa"; String result = ResponseContentParser.extractValidateValue(value); assertNotNull(result); }
@Test public void testExtractValidateValue_3() throws Exception { String value = "aa"; String result = ResponseContentParser.extractValidateValue(value); assertNotNull(result); }
@Test public void testExtractValidateValue_4() throws Exception { String value = "aaa"; String result = ResponseContentParser.extractValidateValue(value); assertNotNull(result); }