Documentation

PasswordRestorationUnitTest extends ViewTestBase
in package

Tags
psalm-suppress

PropertyNotSetInConstructor

Table of Contents

passwordRestorationDataProvider()  : array<string|int, mixed>
Data provider for testConstructor
testConstructor()  : void
Testing constructor
assertOutput()  : void
Method asserts output
assertPasswordRestorationOutput()  : void
Method asserts output

Methods

passwordRestorationDataProvider()

Data provider for testConstructor

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

testing data

testConstructor()

Testing constructor

public testConstructor(string $message, callable $assert) : void
Parameters
$message : string
$assert : callable
Tags
dataProvider

passwordRestorationDataProvider

Return values
void

assertOutput()

Method asserts output

protected assertOutput(string $result, string $title[, string $message = '' ][, string $messageType = 'danger' ]) : void
Parameters
$result : string

result of the view generation

$title : string

view title

$message : string = ''

outputted message

$messageType : string = 'danger'

message type

Return values
void

assertPasswordRestorationOutput()

Method asserts output

protected assertPasswordRestorationOutput(string $result[, string $message = '' ][, string $messageType = 'danger' ]) : void
Parameters
$result : string

result of the view generation

$message : string = ''

outputted message

$messageType : string = 'danger'

message type

Return values
void

Search results