/** * @depends testWhetherAUniqueFormIdIsBeingAdded */ public function testWhetherAFormIsSentWithAUniqueFormIdBeingAdded() { $form = new Form(); $form->setTokenDisabled(); $form->create(); $this->assertTrue($form->wasSent(array($form->getUidElementName() => $form->getElement($form->getUidElementName())->getValue())), 'Form::wasSent() does not return true in case a the form identification value is being sent'); }