@Test
public void testMimicConstructors() throws Exception {

    // GIVEN
    src.addField(new CtField(CtClass.intType, "foo", src));
    src.addConstructor(CtNewConstructor.make("public Src() { foo = 2; }", src));
    // WHEN
    mimicCreator.mimicFields(src, dst);
    mimicCreator.mimicConstructors(src, dst);
    // THEN
    assertHasFooFieldAndConstructor(dst.toClass());
}