### Question:
IntegerAttributeValue extends AbstractAnnotationAttributeValue<Integer> { @Override public String toString() { return getName() + " -> " + value; } IntegerAttributeValue(final JavaSymbolName name, final int value); Integer getValue(); @Override String toString();  }### Answer:
@Test public void testToString() { assertEquals("answer -> 42", new IntegerAttributeValue(new JavaSymbolName("answer"), 42).toString()); }