Documentation

FetchActionsUnitTest extends TestCase
in package

Tags
psalm-suppress

PropertyNotSetInConstructor

Table of Contents

actionA1()  : string
Testing action #1.
actionA2()  : string
Testing action #2.
actionDoubleWord()  : string
Two word action name
classActionDataProvider()  : array<string|int, mixed>
Data provider for the test testClassAction
testClassAction()  : void
Method tests class actions
testFetchActionsWithMap()  : void
Testing map for the fetchActions method

Methods

actionDoubleWord()

Two word action name

public actionDoubleWord() : string
Return values
string

classActionDataProvider()

Data provider for the test testClassAction

public classActionDataProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

test data

testClassAction()

Method tests class actions

public testClassAction(string $requestMethod, string $route, string $expectedResult) : void
Parameters
$requestMethod : string

request method

$route : string

requesting route

$expectedResult : string

expected result of route processing

Tags
dataProvider

classActionDataProvider

Return values
void

testFetchActionsWithMap()

Testing map for the fetchActions method

public testFetchActionsWithMap() : void
Return values
void

Search results