### Question:
DefaultSolrFieldNameEncoder implements SolrFieldNameEncoder { @Override public String decode(String fieldName) { try { if (fieldName != null) { return URLDecoder.decode(fieldName.replace('$', '%'), UTF8); } } catch (UnsupportedEncodingException e) { } return null; }  @Override String encode(final String fieldName); @Override String decode(String fieldName);  }### Answer:
@Test public void decode() { assertNull(encoder.decode(null)); assertSame("", encoder.decode("")); assertSame("a1_.-\u0103", encoder.decode("a1_.-\u0103")); assertEquals(": ^+$", encoder.decode("$3A$20$5E$2B$24")); }