BoolResultUnitTest
extends BoolResultTestClass
in package
Tags
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
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
Return values
void —getRouter()
{@inheritdoc}
protected
getRouter() : RouterInterface