Documentation

LoginUnitTest extends ViewTestBase
in package

Tags
psalm-suppress

PropertyNotSetInConstructor

Table of Contents

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

Methods

loginDataProvider()

Data provider for the testConstructor

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

loginDataProvider

Return values
void

assertLoginOutput()

Method asserts output

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

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

Search results