@Test
public void it_should_have_correct_result_for_a_pathological_comment_ending() throws IOException {

   assertThat(CodeLine.lineCount(codeLines().add("/*****")
     .add(" * This is a test program with 5 lines of code")
     .add(" *  \\/* no nesting allowed!")
     .add(" //*****//***///Slightly pathological comment ending...")
     .add("")
     .add("public static void main() {}")
     .build())).isEqualTo(1);
}