Documentation

GetCallbackUnitTest extends TestCase
in package

Tags
psalm-suppress

PropertyNotSetInConstructor

Table of Contents

getCallbackDataProvider()  : array<string|int, mixed>
Data provider for the
testGetCallback()  : void
Testing getting callback
testGetCallbackWithUnexistingRoute()  : void
Testing case with unexisting callback

Methods

getCallbackDataProvider()

Data provider for the

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

testing dataset

testGetCallback()

Testing getting callback

public testGetCallback(string $route, string $url) : void
Parameters
$route : string

route

$url : string

concrete URL

Tags
dataProvider

getCallbackDataProvider

Return values
void

testGetCallbackWithUnexistingRoute()

Testing case with unexisting callback

public testGetCallbackWithUnexistingRoute() : void
Return values
void

Search results