Exemplo n.º 1
0
 /**
  * @depends testWhetherAUniqueFormIdIsNotBeingAdded
  */
 public function testWhetherAFormIsNotSentWithoutAUniqueFormIdBeingAdded()
 {
     $form = new Form();
     $form->setTokenDisabled();
     $form->setUidDisabled();
     $form->create();
     $this->assertFalse($form->wasSent(array()), 'Form::wasSent() does not return false in case no form identification element was added');
 }