@Test
public void testTheNumberOfScannedStatements() {

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