@Test public void parseReturnsUnquotedString() { String input = "\"FEMALE\""; String expected = "FEMALE"; String output = instance.parse(input); assertThat(output, is(equalTo(expected))); }
@Override public String parse(String value) { if (value == null) { return null; } return StringUtils.strip(value, "\""); }
GenderPropertyParser implements PropertyParser { @Override public String parse(String value) { if (value == null) { return null; } return StringUtils.strip(value, "\""); } }
GenderPropertyParser implements PropertyParser { @Override public String parse(String value) { if (value == null) { return null; } return StringUtils.strip(value, "\""); }  }
GenderPropertyParser implements PropertyParser { @Override public String parse(String value) { if (value == null) { return null; } return StringUtils.strip(value, "\""); }  @Override String parse(String value); @Override Comparable<?> parseForSort(String value); }
GenderPropertyParser implements PropertyParser { @Override public String parse(String value) { if (value == null) { return null; } return StringUtils.strip(value, "\""); }  @Override String parse(String value); @Override Comparable<?> parseForSort(String value);  }