PasswordRestorationCompleteUnitTest
extends ViewTestBase
in package
Tags
Table of Contents
- passwordRestorationCompleteDataProvider() : array<string|int, mixed>
- Data provider for testConstructor
- testConstructor() : void
- Testing constructor
- assertOutput() : void
- Method asserts output
- assertPasswordRestorationCompleteOutput() : void
- Method asserts output
Methods
passwordRestorationCompleteDataProvider()
Data provider for testConstructor
public
passwordRestorationCompleteDataProvider() : 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
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 —assertPasswordRestorationCompleteOutput()
Method asserts output
protected
assertPasswordRestorationCompleteOutput(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