I have read several old posts about Jacoco supporting Lambda functions and issue is addressed a couple years ago.
I am finding that when I run Jacoco, it does not report coverage for the Lambda function in this code
List<SubmissionStatus> result = jdbcTemplate.query(
FINDALL_SQL,
(rs, rowNum) -> new SubmissionStatus(
rs.getLong("subm_rec_id"),
rs.getLong("subm_file_id"),
rs.getString("contract_id"),
rs.getString("contract_name"),
rs.getString("status"))
);
I know it is being hit because the test couldn't pass.
Do I need to do something special for Jacoco to report the coverage properly?