Documentation

Swift_Transport_LoadBalancedTransportTest extends SwiftMailerTestCase
in package

A base test case with some custom expectations.

Table of Contents

assertIdenticalBinary()  : mixed
regExp()  : mixed
testDelegateIsKilledWhenPingFails()  : mixed
testEachDelegateIsPinged()  : mixed
testEachTransportIsUsedInTurn()  : mixed
testExceptionIsThrownIfAllTransportsDie()  : mixed
testFailureReferenceIsPassedToDelegates()  : mixed
testMessageCanBeTriedOnNextTransportIfExceptionThrown()  : mixed
testMessageIsTriedOnNextTransportIfZeroReturned()  : mixed
testRegisterPluginDelegatesToLoadedTransports()  : mixed
testRestartingTransportRestartsDeadDelegates()  : mixed
testStoppingTransportStopsAllDelegates()  : mixed
testTransportsAreReusedInRotatingFashion()  : mixed
testTransportShowsAsNotStartedIfAllDelegatesDead()  : mixed
testTransportShowsAsNotStartedIfAllPingFails()  : mixed
testTransportsWhichThrowExceptionsAreNotRetried()  : mixed
testZeroIsReturnedIfAllTransportsReturnZero()  : mixed
varsAreReferences()  : mixed
Adapted from Yay_Matchers_ReferenceMatcher.
getMockery()  : mixed
tearDown()  : mixed
createPlugin()  : mixed
getTransport()  : mixed

Methods

assertIdenticalBinary()

public assertIdenticalBinary(mixed $expected, mixed $actual[, mixed $message = '' ]) : mixed
Parameters
$expected : mixed
$actual : mixed
$message : mixed = ''
Return values
mixed

regExp()

public static regExp(mixed $pattern) : mixed
Parameters
$pattern : mixed
Return values
mixed

testDelegateIsKilledWhenPingFails()

public testDelegateIsKilledWhenPingFails() : mixed
Return values
mixed

testExceptionIsThrownIfAllTransportsDie()

public testExceptionIsThrownIfAllTransportsDie() : mixed
Return values
mixed

testFailureReferenceIsPassedToDelegates()

public testFailureReferenceIsPassedToDelegates() : mixed
Return values
mixed

testMessageCanBeTriedOnNextTransportIfExceptionThrown()

public testMessageCanBeTriedOnNextTransportIfExceptionThrown() : mixed
Return values
mixed

testMessageIsTriedOnNextTransportIfZeroReturned()

public testMessageIsTriedOnNextTransportIfZeroReturned() : mixed
Return values
mixed

testRegisterPluginDelegatesToLoadedTransports()

public testRegisterPluginDelegatesToLoadedTransports() : mixed
Return values
mixed

testRestartingTransportRestartsDeadDelegates()

public testRestartingTransportRestartsDeadDelegates() : mixed
Return values
mixed

testStoppingTransportStopsAllDelegates()

public testStoppingTransportStopsAllDelegates() : mixed
Return values
mixed

testTransportsAreReusedInRotatingFashion()

public testTransportsAreReusedInRotatingFashion() : mixed
Return values
mixed

testTransportShowsAsNotStartedIfAllDelegatesDead()

public testTransportShowsAsNotStartedIfAllDelegatesDead() : mixed
Return values
mixed

testTransportShowsAsNotStartedIfAllPingFails()

public testTransportShowsAsNotStartedIfAllPingFails() : mixed
Return values
mixed

testTransportsWhichThrowExceptionsAreNotRetried()

public testTransportsWhichThrowExceptionsAreNotRetried() : mixed
Return values
mixed

testZeroIsReturnedIfAllTransportsReturnZero()

public testZeroIsReturnedIfAllTransportsReturnZero() : mixed
Return values
mixed

varsAreReferences()

Adapted from Yay_Matchers_ReferenceMatcher.

public varsAreReferences(mixed &$ref1, mixed &$ref2) : mixed
Parameters
$ref1 : mixed
$ref2 : mixed
Return values
mixed

getMockery()

protected getMockery(mixed $class) : mixed
Parameters
$class : mixed
Return values
mixed

getTransport()

private getTransport(array<string|int, mixed> $transports) : mixed
Parameters
$transports : array<string|int, mixed>
Return values
mixed

Search results