@Test void testConditionedBarMethod() { Bar testee = new Bar(); assertThat(testee.conditionedBarMethod(true), is("6jacoco")); }
public String conditionedBarMethod(boolean condition) { if (!condition) { return s; } else { int j = i + 1; return String.valueOf(j) + s; } }
Bar { public String conditionedBarMethod(boolean condition) { if (!condition) { return s; } else { int j = i + 1; return String.valueOf(j) + s; } } }
Bar { public String conditionedBarMethod(boolean condition) { if (!condition) { return s; } else { int j = i + 1; return String.valueOf(j) + s; } }  }
Bar { public String conditionedBarMethod(boolean condition) { if (!condition) { return s; } else { int j = i + 1; return String.valueOf(j) + s; } }  int barMethod(); String anotherBarMethod(); String conditionedBarMethod(boolean condition); }
Bar { public String conditionedBarMethod(boolean condition) { if (!condition) { return s; } else { int j = i + 1; return String.valueOf(j) + s; } }  int barMethod(); String anotherBarMethod(); String conditionedBarMethod(boolean condition);  }