### Question:
AttackerConfig { @Override public String toString() { return new StringBuilder(MIN_LENGTH).append(getClass().getSimpleName()) .append(" [delay=") .append(delay) .append(", distanceMin=") .append(getDistance().getMin()) .append(", distanceMax=") .append(getDistance().getMax()) .append(", damagesMin=") .append(getDamages().getMin()) .append(", damagesMax=") .append(getDamages().getMax()) .append("]") .toString(); } AttackerConfig(int delay, int distanceMin, int distanceMax, int damagesMin, int damagesMax); static AttackerConfig imports(Configurer configurer); static AttackerConfig imports(Xml root); static Xml exports(AttackerConfig config); int getDelay(); Range getDistance(); Range getDamages(); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString(); static final String NODE_ATTACKER; static final String ATT_DELAY; static final String ATT_DISTANCE_MIN; static final String ATT_DISTANCE_MAX; static final String ATT_DAMAGES_MIN; static final String ATT_DAMAGES_MAX; }### Answer:
@Test void testToString() { final AttackerConfig config = new AttackerConfig(1, 2, 3, 4, 5); assertEquals("AttackerConfig [delay=1, distanceMin=2, distanceMax=3, damagesMin=4, damagesMax=5]", config.toString()); }