@Test
public void testMimicConstructors_with_keys() throws Exception {

    // GIVEN
    mimicCreator = new MimicCreator("bar");
    src.addConstructor(CtNewConstructor.make("public Src() {}", src));
    dst.addConstructor(CtNewConstructor.make("public Dst() {}", dst));
    // WHEN
    mimicCreator.mimicConstructors(src, dst);
    // THEN
    assertEquals("bar", mimicCreator.getKey());
    assertHasMethod(dst.toClass(), "_copy_bar_" + src.getName(), null);
}