@Test
public void testAddInitializationBlock() {

    InnerClass clazz = new InnerClass("com.foo.UserClass");
    assertEquals(0, clazz.getInitializationBlocks().size());
    clazz.addInitializationBlock(new InitializationBlock(false));
    assertEquals(1, clazz.getInitializationBlocks().size());
    clazz.addInitializationBlock(new InitializationBlock(true));
    assertEquals(2, clazz.getInitializationBlocks().size());
}