verify(this.innerDefineHandler).apply(this.ctx, this.parent);
}
@Test
public void shouldApplyParameters() throws Exception {
FaceletHandler handler = mock(ComponentHandler.class);
List<FaceletHandler> variableDeclarationHandlers = new ArrayList<FaceletHandler>();
FaceletHandler paramHandler = mock(ParamHandler.class);
variableDeclarationHandlers.add(paramHandler);
VariableMapper originalVariableMapper = mock(VariableMapper.class);
given(this.ctx.getVariableMapper()).willReturn(originalVariableMapper);
DecoratedChild decorated = this.delegate.createdDecoratedChild(handler, variableDeclarationHandlers);
decorated.apply(this.ctx, this.parent, null);