public function renderHiddenFieldForEmptyValueAddsHiddenFieldWithDisabledState()
{
$formViewHelper = $this->getAccessibleMock(\Neos\FluidAdaptor\ViewHelpers\Form\AbstractFormFieldViewHelper::class, array('getName'), array(), '', false);
$this->injectDependenciesIntoViewHelper($formViewHelper);
$this->tagBuilder->expects($this->any())->method('hasAttribute')->with('disabled')->will($this->returnValue(true));
$this->tagBuilder->expects($this->any())->method('getAttribute')->with('disabled')->will($this->returnValue('disabledValue'));
$formViewHelper->expects($this->any())->method('getName')->will($this->returnValue('SomeFieldName'));
$this->viewHelperVariableContainer->expects($this->atLeastOnce())->method('addOrUpdate')->with(\Neos\FluidAdaptor\ViewHelpers\FormViewHelper::class, 'emptyHiddenFieldNames', array('SomeFieldName' => 'disabledValue'));
$formViewHelper->_call('renderHiddenFieldForEmptyValue');
}