### Question:
Hints extends RenderingHints { static String nameOf(final RenderingHints.Key key) { if (key == null) { return null; } if (!(key instanceof Key)) { final Field field = fieldOf(key); if (field != null) { return field.getName(); } } return key.toString(); } Hints();  Hints(final RenderingHints.Key key, final Object value);  Hints(final RenderingHints.Key key1, final Object value1,
                 final RenderingHints.Key key2, final Object value2);  Hints(final Map<? extends RenderingHints.Key, ?> hints);  Hints(final RenderingHints hints); @Override Hints clone(); @Override String toString(); static final ClassKey CRS_AUTHORITY_FACTORY; static final ClassKey CRS_FACTORY; static final ClassKey CS_FACTORY; static final ClassKey DATUM_FACTORY; static final ClassKey COORDINATE_OPERATION_AUTHORITY_FACTORY; static final ClassKey MATH_TRANSFORM_FACTORY; static final Key DEFAULT_COORDINATE_REFERENCE_SYSTEM; static final FileKey CRS_AUTHORITY_EXTRA_DIRECTORY; static final Key SAMPLE_DIMENSION_TYPE; static final ClassKey FILTER_FACTORY; static final ClassKey STYLE_FACTORY; }### Answer:
@Test public void testNameOf() { assertEquals("CS_FACTORY", Hints.nameOf(Hints.CS_FACTORY)); assertEquals("KEY_INTERPOLATION", Hints.nameOf(RenderingHints.KEY_INTERPOLATION)); assertEquals("KEY_TILE_CACHE", Hints.nameOf(JAI.KEY_TILE_CACHE)); }