\PHPMailer\Test\PHPMailerNormalizeBreaksTest

Test normalize line breaks functionality.

Summary

Methods
Properties
Constants
testNormalizeBreaks()
dataNormalizeBreaks()
testNormalizeBreaksWithCustomLineEnding()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

testNormalizeBreaks()

testNormalizeBreaks(string  $input, string  $expected, string  $breaktype = null) : mixed

Test line break normalization.

Parameters

string $input

Input text string.

string $expected

Expected funtion output.

string $breaktype

Optional. What kind of line break to use.

Returns

mixed —

dataNormalizeBreaks()

dataNormalizeBreaks() : array

Data provider.

Returns

array —

testNormalizeBreaksWithCustomLineEnding()

testNormalizeBreaksWithCustomLineEnding() : mixed

Test line break normalization with a custom line ending setting.

Returns

mixed —