示例#1
0
 /**
  * @test
  */
 public function getLabelReturnsLabelOfFormDefinition()
 {
     $formDefinition = new FormDefinition('foo');
     $formDefinition->setLabel('my cool label');
     $formRuntime = $this->createFormRuntime($formDefinition);
     $this->assertSame('my cool label', $formRuntime->getLabel());
 }