### Question:
CollidableFramedConfig { @Override public String toString() { return new StringBuilder(MIN_LENGTH).append(getClass().getSimpleName()).append(collisions).toString(); } CollidableFramedConfig(Map<Integer, Collection<Collision>> collisions); static CollidableFramedConfig imports(Configurer configurer); static CollidableFramedConfig imports(Xml root); static void exports(Xml root, Map<Integer, Collection<Collision>> collisions); Collection<Collision> getCollision(Integer frame); Collection<Collision> getCollisions(); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString(); static final String NODE_COLLISION_FRAMED; static final String ATT_PREFIX; static final String ATT_NUMBER; static final String ATT_OFFSETX; static final String ATT_OFFSETY; static final String ATT_WIDTH; static final String ATT_HEIGHT; static final String ATT_MIRROR; }### Answer:
@Test void testToString() { final Map<Integer, Collection<Collision>> collisions = new HashMap<>(); collisions.put(Integer.valueOf(1), Arrays.asList(new Collision("anim%1", 0, 1, 2, 3, true))); final CollidableFramedConfig config = new CollidableFramedConfig(collisions); assertEquals("CollidableFramedConfig" + "{1=[Collision [name=anim%1, offsetX=0, offsetY=1, width=2, height=3, mirror=true]]}", config.toString()); }