public void testIgnoreMethodsWithoutCode() {
final IClassStructureVisitor classStructure = coverageBuilder
.visitClassStructure(123L);
classStructure.visit("org/jacoco/examples/Sample", null,
"java/lang/Object", new String[0]);
final IMethodStructureVisitor methodStructure1 = classStructure
.visitMethodStructure("a", "()V", null);
methodStructure1.block(0, 5, new int[0]);
methodStructure1.visitEnd();
final IMethodStructureVisitor methodStructure2 = classStructure
.visitMethodStructure("b", "()V", null);