TreeHelperTest

Extends \CakeTestCase

Test Tree helper

package

TreeHelperTest

subpackage

View.Helper

Methods

{@inheritdoc}

setUp() 

Test build tree with paths instead of callbacks

testBuild(mixed $data, string $template, array $options, array $result) 
dataProvider

treeProvider

Arguments

$data

mixed

$template

string

$options

array

$result

array

Test build tree with wrong callbacks

testWrongCallback(mixed $data, array $options) 
dataProvider

wrongCallbackProvider

Arguments

$data

mixed

$options

array

Data provider testBuild

treeProvider() : array

Response

array

Data provider for testWrongCallback

wrongCallbackProvider() : array

Response

array

Properties

TreeHelper

TreeHelper : \TreeHelper

Type(s)

\TreeHelper