@Test
public void testInsertConstructor() throws Exception {

    // GIVEN
    target.addConstructor(CtNewConstructor.make("public Target() {}", target));
    target.addField(new CtField(CtClass.intType, "foo", target));
    InsertableConstructor insertableConstructor = new SimpleInsertableConstructor(target, "foo = 2;", true);
    // WHEN
    afterBurner.insertConstructor(insertableConstructor);
    // THEN
    targetClass = target.toClass();
    targetInstance = targetClass.newInstance();
    assertHasFooFieldWithValue(target, 2);
}