### Question:
StellaIEValidatorTag extends ValidatorELTag { @Override protected Validator createValidator() throws JspException { ELContext elContext = getELContext(); StellaIEValidator validator = getBoundValidator(elContext); if (binding != null) { validator.setBinding(binding); } if (estado != null) { String estadoValue = estado.getValue(elContext).toString(); validator.setEstado(estadoValue); } if (estadoComponentId != null) { String componentId = estadoComponentId.getValue(elContext).toString(); validator.setEstadoComponentId(componentId); } if (formatted != null) { Boolean formattedValue = (Boolean) formatted.getValue(elContext); validator.setFormatted(formattedValue); } return validator; } StellaIEValidatorTag(); void setFormatted(ValueExpression formatted); void setEstado(ValueExpression estado); void setEstadoComponentId(ValueExpression estadoComponentId); void setBinding(ValueExpression binding); ValueExpression getBinding(); void release();  }### Answer:
@SuppressWarnings("serial") @Test public void shouldReturnTheStellaValidator() throws Exception { Mockery mockery = new Mockery(); mockery.setImposteriser(ClassImposteriser.INSTANCE); final ELContext elContext = mockery.mock(ELContext.class); StellaIEValidatorTag tag = new StellaIEValidatorTag() { @Override protected ELContext getELContext() { return elContext; } }; Validator validator = tag.createValidator(); assertTrue(validator instanceof StellaIEValidator); }