assertThat(this.variableMapper.getAllValues().get(1), is(sameInstance(originalVariableMapper)));
verify(paramHandler).apply(this.ctx, this.parent);
}
private DefineHandler mockDefineHandler() {
TagConfig tagConfig = mock(TagConfig.class);
TagAttribute nameAttribute = mock(TagAttribute.class);
given(nameAttribute.getLocalName()).willReturn("name");
given(nameAttribute.getNamespace()).willReturn("");
given(nameAttribute.isLiteral()).willReturn(true);
given(nameAttribute.getValue()).willReturn("defineName");
TagAttributes attributes = new TagAttributesImpl(new TagAttribute[] { nameAttribute });
Tag tag = new Tag(new Location("", 0, 0), "", "", "", attributes);
given(tagConfig.getTag()).willReturn(tag);
given(tagConfig.getNextHandler()).willReturn(this.innerDefineHandler);
DefineHandler defineHandler = new DefineHandler(tagConfig);
return defineHandler;
}