@Test
public void testTheNumberOfScannedClasses() {

    sourceFile = ApexAstScanner.scanFile(new File("src/test/resources/metrics/classes.cls"));
    assertThat(sourceFile.getInt(ApexMetric.CLASSES)).isEqualTo(2);
}