AuxFileFileMetrics { @Override public String toString() { StringBuilder sb = new StringBuilder(file).append(";").append(file2); for (double m : metrics) { sb.append(";"); sb.append(Util.tratarDoubleParaString(m)); } sb.append(";"); sb.append(risk); return sb.toString(); } AuxFileFileMetrics(String file, String file2, double... metrics);  AuxFileFileMetrics(String file, String file2, List<Double> metrics); FilePairApriori getFilePairApriori(); void setFilePairApriori(FilePairApriori filePairApriori); AuxFileFile getFileFile(); String getFile(); String getFile2(); List<Double> getMetrics(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); void addMetrics(double... metrics); void changeToRisky(); int getRisky(); int getFutureDefectIssuesIdWeight(); static final Map<String, Integer> HEADER_INDEX; static final Integer futureDefectsIndex; }
@Test public void testToString() { assertEquals("FileA.java;FileB.java;1.0;2.0;3.0;0", instance.toString()); }