Documentation

RegistrationUnitTest extends ViewTestBase
in package

Tags
psalm-suppress

PropertyNotSetInConstructor

Table of Contents

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

Methods

registrationDataProvider()

Data provider for the testConstructor

public registrationDataProvider() : 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

registrationDataProvider

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

assertRegistrationOutput()

Method asserts output

protected assertRegistrationOutput(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