### Question:
GenericCollectionTypeResolver { public static Class<?> getMapValueFieldType(Field mapField) { return getGenericFieldType(mapField, Map.class, 1, getNestingLevel(mapField.getGenericType(), 0)); }  static Class<?> getCollectionFieldType(Field collectionField); static Class<?> getMapKeyFieldType(Field mapField); static Class<?> getMapValueFieldType(Field mapField); static Class<?> getCollectionParameterType(MethodParameter methodParam); static Class<?> getMapKeyParameterType(MethodParameter methodParam); static Class<?> getMapValueParameterType(MethodParameter methodParam);  }### Answer:
@Test public void testGetMapValueFieldType() throws Exception { final Class<?> mapValueFieldType = GenericCollectionTypeResolver.getMapValueFieldType(getMapField()); assertEquals(Integer.class, mapValueFieldType); }