PHP Класс Jyxo\Mail\SenderTest

См. также: Jyxo\Mail\Sender
Автор: Jaroslav Hanslík
Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
testAllTypes ( ) Tests all email types (with attachments, without, .
testCompleteEmail ( ) Tests a complete email message with all settings.
testSendErrors ( ) Tests possible sending errors.
testSendMail ( ) Tests sending using the mail() function.
testSendSmtp ( ) Tests sending using a SMTP server.
testUndisclosedRecipients ( ) Tests creating an email with only Bcc recipients.

Защищенные методы

Метод Описание
setUp ( ) Prepares the testing environment.

Приватные методы

Метод Описание
assertResult ( string $file, Result $result ) Compares the actual and expected result.
getEmail ( ) : Email Creates a basic email.

Описание методов

setUp() защищенный Метод

Prepares the testing environment.
protected setUp ( )

testAllTypes() публичный Метод

..).
public testAllTypes ( )

testCompleteEmail() публичный Метод

Tests a complete email message with all settings.
public testCompleteEmail ( )

testSendErrors() публичный Метод

Tests possible sending errors.
public testSendErrors ( )

testSendMail() публичный Метод

Tests sending using the mail() function.
public testSendMail ( )

testSendSmtp() публичный Метод

Tests sending using a SMTP server.
public testSendSmtp ( )

testUndisclosedRecipients() публичный Метод

Tests creating an email with only Bcc recipients.