\Chill\PersonBundle\Tests\ControllerPersonControllerCreateTest

Test creation and deletion for persons

Summary

Methods
Properties
Constants
testAddAPersonPage()
testFirstnameTooLong()
testLastnameTooLong()
testGenderIsNull()
testValidForm()
tearDownAfterClass()
No public properties found
FIRSTNAME_INPUT
LASTNAME_INPUT
GENRE_INPUT
DATEOFBIRTH_INPUT
CREATEDATE_INPUT
LONG_TEXT
No protected methods found
No protected properties found
N/A
getAuthenticatedClient()
fillAValidCreationForm()
No private properties found
N/A

Constants

FIRSTNAME_INPUT

FIRSTNAME_INPUT

LASTNAME_INPUT

LASTNAME_INPUT

GENRE_INPUT

GENRE_INPUT

DATEOFBIRTH_INPUT

DATEOFBIRTH_INPUT

CREATEDATE_INPUT

CREATEDATE_INPUT

LONG_TEXT

LONG_TEXT

Methods

testFirstnameTooLong()

testFirstnameTooLong(\Symfony\Component\DomCrawler\Form  $form) 

Parameters

\Symfony\Component\DomCrawler\Form $form

testLastnameTooLong()

testLastnameTooLong(\Symfony\Component\DomCrawler\Form  $form) 

Parameters

\Symfony\Component\DomCrawler\Form $form

testGenderIsNull()

testGenderIsNull(\Symfony\Component\DomCrawler\Form  $form) 

Parameters

\Symfony\Component\DomCrawler\Form $form

testValidForm()

testValidForm(\Symfony\Component\DomCrawler\Form  $form) 

Parameters

\Symfony\Component\DomCrawler\Form $form

tearDownAfterClass()

tearDownAfterClass() 

getAuthenticatedClient()

getAuthenticatedClient() : \Symfony\Component\BrowserKit\Client

return an authenticated client, useful for submitting form

Returns

\Symfony\Component\BrowserKit\Client

fillAValidCreationForm()

fillAValidCreationForm(\Symfony\Component\DomCrawler\Form  $creationForm) 

Parameters

\Symfony\Component\DomCrawler\Form $creationForm