Inheritance: extends Option
 public function testAddIntegerType()
 {
     $option = new IntegerOption();
     $option->setValue(123);
     $type = new OptionType();
     $this->invokeMethod($type, 'addIntegerType', [$this->formBuilder(), 'key', $option]);
 }
 /**
  * @dataProvider minMaxExceptionProvider
  * @expectedException \InvalidArgumentException
  * @param $min
  * @param $max
  * @param $value
  */
 public function testMinMaxException($min, $max, $value)
 {
     $option = new IntegerOption(array('min' => $min, 'max' => $max));
     $option->setValue($value);
 }