### Question:
FramesConfig { @Override public String toString() { return new StringBuilder(MIN_LENGTH).append(getClass().getSimpleName()) .append(" [horizontalFrames=") .append(horizontalFrames) .append(", verticalFrames=") .append(verticalFrames) .append(", offsetX=") .append(offsetX) .append(", offsetY=") .append(offsetY) .append("]") .toString(); } FramesConfig(int horizontalFrames, int verticalFrames, int offsetX, int offsetY); static FramesConfig imports(Configurer configurer); static FramesConfig imports(Xml root); static Xml exports(FramesConfig config); int getHorizontal(); int getVertical(); int getOffsetX(); int getOffsetY(); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString(); static final String NODE_FRAMES; static final String ATT_HORIZONTAL; static final String ATT_VERTICAL; static final String ATT_OFFSET_X; static final String ATT_OFFSET_Y; }### Answer:
@Test void testToString() { final FramesConfig config = new FramesConfig(1, 2, 3, 4); assertEquals("FramesConfig [horizontalFrames=1, verticalFrames=2, offsetX=3, offsetY=4]", config.toString()); }