/**
  * @dataProvider invalidOptionsDataProvider
  */
 public function testAssembleRequiredOptionException($options, $attributes, $owner, $ownerName, $expectedException, $expectedExceptionMessage)
 {
     $this->setExpectedException($expectedException, $expectedExceptionMessage);
     $this->assembler->assemble($options, $attributes, $owner, $ownerName);
 }
 /**
  * @param array $options
  * @param Attribute[]|Collection $attributes
  * @param string $transitionName
  * @return array
  */
 protected function assembleFormOptions(array $options, $attributes, $transitionName)
 {
     $formOptions = $this->getOption($options, 'form_options', array());
     return $this->formOptionsAssembler->assemble($formOptions, $attributes, 'transition', $transitionName);
 }