MessagesControllerTest

Extends \ControllerTestCase

MessagesControllerTest

package

LocalizationTest

subpackage

Controller

Methods

Data provider for testCreate

createProvider() : array

Response

array

Data provider for testDelete

deleteProvider() : array

Response

array

Data provider for testEdit

editProvider() : array

Response

array

Data provider for testExport

exportProvider() : array

Response

array

Data provider for testIndex

indexProvider() : array

Response

array

{@inheritdoc}

setUp() 

Test beforeRender callback

testBeforeRender() 

Test create action

testCreate(array $query, boolean $saved, boolean $success, string $message) 
dataProvider

createProvider

Arguments

$query

array

$saved

boolean

$success

boolean

$message

string

Test delete action

testDelete(integer $id, boolean $success, string $message, string $exception) 
dataProvider

deleteProvider

Arguments

$id

integer

$success

boolean

$message

string

$exception

string

Test edit action

testEdit(integer $id, array $query, array $data, boolean $success, string $message, string $exception) 
dataProvider

editProvider

Arguments

$id

integer

$query

array

$data

array

$success

boolean

$message

string

$exception

string

Test export action

testExport(boolean $success, string $message) 
dataProvider

exportProvider

Arguments

$success

boolean

$message

string

Test index action

testIndex(array $query, array $paginate) 
dataProvider

indexProvider

Arguments

$query

array

$paginate

array