List<String> assertionComments = new ArrayList<>(); for (Assertion assertion : assertions) { logger.warn("+++++ Assertion: {} {}", assertion.getCode(), assertion.getComment()); assertionComments.add(assertion.getComment());
testCode += assertion.getComment();