render() public method

Renders the checkbox.
public render ( boolean $checked = null ) : string
$checked boolean Specifies that the input element should be preselected
return string
 /**
  * @test
  */
 public function renderCallsSetErrorClassAttribute()
 {
     $this->viewHelper->expects($this->once())->method('setErrorClassAttribute');
     $this->viewHelper->render();
 }