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