### Question:
TypeUtils { public static Type getMapValueGeneric(Type type) { return getTypeArguments(type, Map.class).get(Map.class.getTypeParameters()[1]); } private  TypeUtils(); static boolean isCollection(Type type); static boolean isMap(Type type); static Type getCollectionGeneric(Type type); static Type getMapValueGeneric(Type type); static Class<?> getRawType(Type type);  }### Answer:
@Test void shouldReturnMapValueGeneric() { Type type = org.apache.commons.lang3.reflect.TypeUtils.parameterize(Map.class, String.class, Object.class); Type mapGeneric = TypeUtils.getMapValueGeneric(type); assertThat(mapGeneric).isEqualTo(Object.class); }