@Test public void TestVerdictToBoolean() { assertFalse(VerdictConverter.toBoolean(Verdict.FAIL)); assertTrue(VerdictConverter.toBoolean(Verdict.PASS)); assertNull(VerdictConverter.toBoolean(Verdict.INCONCLUSIVE)); }
public static Boolean toBoolean(Verdict verdict) { if(verdict == Verdict.INCONCLUSIVE) return null; if(verdict == Verdict.PASS) return true; return false; }
VerdictConverter { public static Boolean toBoolean(Verdict verdict) { if(verdict == Verdict.INCONCLUSIVE) return null; if(verdict == Verdict.PASS) return true; return false; } }
VerdictConverter { public static Boolean toBoolean(Verdict verdict) { if(verdict == Verdict.INCONCLUSIVE) return null; if(verdict == Verdict.PASS) return true; return false; }  }
VerdictConverter { public static Boolean toBoolean(Verdict verdict) { if(verdict == Verdict.INCONCLUSIVE) return null; if(verdict == Verdict.PASS) return true; return false; }  static Verdict toVerdict(Boolean bool); static Boolean toBoolean(Verdict verdict); }
VerdictConverter { public static Boolean toBoolean(Verdict verdict) { if(verdict == Verdict.INCONCLUSIVE) return null; if(verdict == Verdict.PASS) return true; return false; }  static Verdict toVerdict(Boolean bool); static Boolean toBoolean(Verdict verdict);  }