public function setErrorClassAttributeDoesNotSetClassAttributeIfNoErrorOccurred()
{
$formViewHelper = $this->getAccessibleMock(\Neos\FluidAdaptor\ViewHelpers\Form\AbstractFormFieldViewHelper::class, array('hasArgument', 'getErrorsForProperty'), array(), '', false);
$this->injectDependenciesIntoViewHelper($formViewHelper);
$this->tagBuilder->expects($this->never())->method('addAttribute');
$formViewHelper->_call('setErrorClassAttribute');
}