### Question:
BooleanAttributeValue extends AbstractAnnotationAttributeValue<Boolean> { @Override public String toString() { return getName() + " -> " + value; } BooleanAttributeValue(final JavaSymbolName name, final boolean value); Boolean getValue(); @Override String toString();  }### Answer:
@Test public void testToStringWhenFalse() { assertEquals("foo -> false", new BooleanAttributeValue(new JavaSymbolName("foo"), false).toString()); }
@Test public void testToStringWhenTrue() { assertEquals("bar -> true", new BooleanAttributeValue(new JavaSymbolName("bar"), true).toString()); }