### Question:
Outcome { @Override public String toString() { String mutants = ""; for (Integer m : coveredMutants) { mutants = mutants + m + " "; } if (mutants.length() > 0) mutants = mutants.substring(0, mutants.length()-1); return type.toString() + "," + runTime.toString() + "," + digest.toString() + "," + mutants + "," + stackTrace.toString(); } Outcome(Result result, String digest_); private  Outcome(Type type_); static String normalizeStackTrace(String stackTrace); static Outcome createTimeout(WorkOrder workOrder); static Outcome createCrash(); @Override boolean equals(Object otherObj); @Override int hashCode(); @Override String toString(); static Outcome fromString(String s); public Type type; public String digest; public Long runTime; public String stackTrace; public Collection<Integer> coveredMutants; }### Answer:
@Test public void testPassToString() { Result result = passingJUnitResult(); Outcome o = new Outcome(result, "0123456789abcdef"); assertEquals( csvLine("PASS",Long.toString(result.getRunTime()),"0123456789abcdef","",""), o.toString()); o.coveredMutants.add(10); o.coveredMutants.add(11); assertEquals( csvLine("PASS",Long.toString(result.getRunTime()),"0123456789abcdef","10 11",""), o.toString()); }