### Question:
ExtractableConfig { @Override public String toString() { return new StringBuilder(MIN_LENGTH).append(getClass().getSimpleName()) .append(" [type=") .append(type) .append(" quantity=") .append(quantity) .append("]") .toString(); } ExtractableConfig(String type, int quantity); static ExtractableConfig imports(Configurer configurer); static ExtractableConfig imports(Xml root); static Xml exports(ExtractableConfig config); String getType(); int getQuantity(); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString(); static final String NODE_EXTRACTABLE; static final String ATT_QUANTITY; static final String ATT_TYPE; }### Answer:
@Test void testToString() { final ExtractableConfig config = new ExtractableConfig("gold", 1); assertEquals("ExtractableConfig [type=gold quantity=1]", config.toString()); }