    @Test
    public void testMethodAnnotationsPackageOnly() throws IOException {

        final long time = System.currentTimeMillis();

        @SuppressWarnings("unchecked")
        final CountingReporter counter = new CountingReporter(Test.class);
        final AnnotationDetector cf = new AnnotationDetector(counter);
        cf.detect("eu.infomas"); // only this package and sub package(s) are scanned
        // 6 ms
        if (DEBUG) log("Time: %d ms.", System.currentTimeMillis() - time);
        assertEquals(0, counter.getTypeCount());
        assertEquals(0, counter.getFieldCount());
        assertEquals(15, counter.getMethodCount());
    }