/**
  * @test
  */
 public function renderCallsSetErrorClassAttribute()
 {
     $this->viewHelper->expects($this->once())->method('setErrorClassAttribute');
     $this->viewHelper->render();
 }
Пример #2
0
 /**
  * Renders the checkbox.
  *
  * @return string
  * @api
  */
 public function render()
 {
     $this->arguments['multiple'] = (bool) $this->arguments['multiple'];
     return parent::render();
 }