Пример #1
0
 protected function getFormBuilder()
 {
     $builder = parent::getFormBuilder();
     $builder->expects($this->once())->method('add')->with($this->equalTo('show_image'), $this->equalTo('checkbox'));
     return $builder;
 }
Пример #2
0
 protected function getFormBuilder()
 {
     $builder = parent::getFormBuilder();
     $builder->expects($this->once())->method('add')->with($this->equalTo('max'), $this->equalTo('integer'));
     return $builder;
 }