@Test
public void testCheckIfMethodIsInvoked_whenItIsNotInvoked() throws Exception {

    // GIVEN
    target.addMethod(CtNewMethod.make("public void bar() { }", target));
    CtMethod withinMethod = CtNewMethod.make("public void foo() { }", target);
    target.addMethod(withinMethod);
    // WHEN
    boolean isInvoked = afterBurner.checkIfMethodIsInvoked(withinMethod, "bar");
    // THEN
    assertFalse(isInvoked);
}