@Test
public void testCheckAllFields_should_succeed_with_all_fields_defined_using_class() throws Exception {

    //GIVEN
    String body = "";
    Class<?> classToInsertInto = String.class;
    ;
    //WHEN
    InsertableConstructor constructor = builder
            .insertIntoClass(classToInsertInto )
            .withBody(body)
            .createInsertableConstructor();
    //THEN
    assertNotNull(constructor);
    assertEquals(ClassPool.getDefault().get(String.class.getName()), constructor.getClassToInsertInto());
    assertEquals(body, constructor.getConstructorBody(null));
    assertTrue(constructor.acceptParameters(null));
}