environmentContextMock.expects.getCachingDirectives().returns(null).
any();
requestContext.expects.getEnvironmentContext().returns(
environmentContextMock).any();
builder = new XFormBuilderImpl();
fieldType = new FieldTypeMock("fieldType", expectations);
attributes = new XFFormFieldAttributesMock("attributes", expectations);
element = new XFormsControlElement(ELEMENT_TYPE, contextMock) {
protected FieldType getFieldType() {