final SourceFileCoverageImpl sourceFileCoverageImpl = new SourceFileCoverageImpl(
"FooClass.java", "org/jacoco/example");
sourceFileCoverageImpl.increment(classCoverage);
sourceFileCoverage = sourceFileCoverageImpl;
packageCoverage = new PackageCoverageImpl("org/jacoco/example",
Collections.singleton(classCoverage),
Collections.singleton(sourceFileCoverage));
bundleCoverage = new BundleCoverageImpl("bundle",
Collections.singleton(packageCoverage));
}