assertEquals(0, s.getClassCounter().getCoveredCount());
}
@Test
public void testGetBundle() {
final MethodCoverageImpl method1 = new MethodCoverageImpl("doit",
"()V", null);
method1.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 3);
addClass(1, "org/jacoco/examples/Sample1", null, method1);
final MethodCoverageImpl method2 = new MethodCoverageImpl("doit",
"()V", null);
method2.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 6);
addClass(2, "org/jacoco/examples/Sample2", null, method2);
final MethodCoverageImpl method3 = new MethodCoverageImpl("doit",
"()V", null);
method3.increment(CounterImpl.COUNTER_1_0, CounterImpl.COUNTER_0_0, 1);
addClass(3, "Sample3", null, method3);
IBundleCoverage bundle = coverageBuilder.getBundle("testbundle");
assertEquals("testbundle", bundle.getName());