@Test
public void testCheckAllFields_should_succeed_with_insert_after_method_defined() throws AfterBurnerImpossibleException {

    //GIVEN
    CtClass classToInsertInto = CtClass.intType;
    String targetMethod = "";
    String insertionAfterMethod = "";
    String fullMethod = "";
    String body = "";
    //WHEN
    InsertableMethod method = builder
            .insertIntoClass(classToInsertInto)
            .inMethodIfExists(targetMethod)
            .afterACallTo(insertionAfterMethod)
            .withBody(body)
            .elseCreateMethodIfNotExists(fullMethod)
            .createInsertableMethod();
    //THEN
    assertNotNull(method);
    assertEquals(classToInsertInto, method.getClassToInsertInto());
    assertEquals(targetMethod, method.getTargetMethodName());
    assertNull(method.getInsertionBeforeMethod());
    assertEquals(insertionAfterMethod, method.getInsertionAfterMethod());
    assertEquals(fullMethod, method.getFullMethod());
    assertEquals(body, method.getBody());
}