private List<BeanDefinition> beanDefinitions = new ArrayList<BeanDefinition>();
@Before
public void setup() {
MockitoAnnotations.initMocks(this);
this.parser = new IntegrationBeanDefinitionParser();
this.parserContext = new ParserContext(this.readerContext, this.delegate);
given(this.element.getTagName()).willReturn("integration");
given(this.readerContext.registerWithGeneratedName(any(BeanDefinition.class))).willAnswer(new Answer<String>() {
public String answer(InvocationOnMock invocation) throws Throwable {