### Question:
Dimension extends Value { @Override public Value copy() { return this; } private  Dimension(float value, int unit); private  Dimension(String dimension); static Dimension valueOf(String dimension); static float apply(String dimension, Context context); float apply(Context context); @Override Value copy(); @Override String toString(); static final int DIMENSION_UNIT_ENUM; static final int DIMENSION_UNIT_PX; static final int DIMENSION_UNIT_DP; static final int DIMENSION_UNIT_SP; static final int DIMENSION_UNIT_PT; static final int DIMENSION_UNIT_IN; static final int DIMENSION_UNIT_MM; static final String MATCH_PARENT; static final String FILL_PARENT; static final String WRAP_CONTENT; static final String SUFFIX_PX; static final String SUFFIX_DP; static final String SUFFIX_SP; static final String SUFFIX_PT; static final String SUFFIX_IN; static final String SUFFIX_MM; static final BiMap<String, Integer> sDimensionsMap; static final BiMap<String, Integer> sDimensionsUnitsMap; static final Dimension ZERO; final double value; final int unit; }### Answer:
@Test public void copy() throws Exception { Dimension d = Dimension.valueOf("24dp"); assertThat(d, is(d.copy())); }