@Test
public void testMimicMethods() throws Exception {

    // GIVEN
    src.addMethod(CtNewMethod.make("public boolean foo() { return true;}", src));
    // WHEN
    mimicCreator.mimicMethods(src, dst, MimicMode.AFTER_SUPER, new MimicMethod[0]);
    // THEN
    Class<?> dstClass = dst.toClass();
    assertHasFooMethod(dst, dstClass);
}