### Question:
BillFormat implements Serializable { @Override public String toString() { return "BillFormat{" + "outputSize=" + outputSize + ", language=" + language + ", separatorType=" + separatorType + ", fontFamily='" + fontFamily + '\'' + ", graphicsFormat=" + graphicsFormat + ", resolution=" + resolution + '}'; } BillFormat();  BillFormat(BillFormat format); OutputSize getOutputSize(); void setOutputSize(OutputSize outputSize); Language getLanguage(); void setLanguage(Language language); SeparatorType getSeparatorType(); void setSeparatorType(SeparatorType separatorType); String getFontFamily(); void setFontFamily(String fontFamily); GraphicsFormat getGraphicsFormat(); void setGraphicsFormat(GraphicsFormat graphicsFormat); int getResolution(); void setResolution(int resolution); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test void toStringTest() { BillFormat format = new BillFormat(); String text = format.toString(); assertEquals("BillFormat{outputSize=QR_BILL_ONLY, language=EN, separatorType=DASHED_LINE_WITH_SCISSORS, fontFamily='Helvetica,Arial,\"Liberation Sans\"', graphicsFormat=SVG, resolution=144}", text); }