Documentation

BoolResultUnitTest extends BoolResultTestClass
in package

Tags
psalm-suppress

PropertyNotSetInConstructor

Table of Contents

boolResultDataProvider()  : array<string|int, mixed>
Data provider for the test testBoolResult
setUp()  : void
Default setup
testBoolResult()  : void
Testing bool return values for route handlers, checking that false return value works correctly
getRouter()  : RouterInterface
{@inheritdoc}

Methods

boolResultDataProvider()

Data provider for the test testBoolResult

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

testing data

setUp()

Default setup

public setUp() : void
Tags
see
TestCase::setUp()
Return values
void

testBoolResult()

Testing bool return values for route handlers, checking that false return value works correctly

public testBoolResult(callable $handler, bool $expected) : void
Parameters
$handler : callable

route handler

$expected : bool

expected result

Tags
dataProvider

boolResultDataProvider

Return values
void

Search results

    Яндекс.Метрика