@Test
public void testTheNumberOfScannedComments() {

    sourceFile = ApexAstScanner.scanFile(new File("src/test/resources/metrics/comments.cls"));
    assertThat(sourceFile.getInt(ApexMetric.CLASSES)).isEqualTo(1);
    assertThat(sourceFile.getInt(ApexMetric.COMMENT_LINES)).isEqualTo(9);
}