@Override
    public void onFinish(ITestContext paramITestContext) {
        ConcurrentHashMap<String, ReportModel> reportModels = getReportModels(paramITestContext);
        for (ReportModel reportModel : reportModels.values()) {
            new CommonReportHelper().finishReport(reportModel);
        }
    }
TestNG Test listener to enable JGiven for a test class.
jgiven-testng/src/main/java/com/tngtech/jgiven/testng/ScenarioTestListener.java