Swift_Transport_FailoverTransportTest
extends SwiftMailerTestCase
in package
A base test case with some custom expectations.
Table of Contents
- assertIdenticalBinary() : mixed
- regExp() : mixed
- testDelegateIsKilledWhenPingFails() : mixed
- testEachDelegateIsPinged() : mixed
- testExceptionIsThrownIfAllTransportsDie() : mixed
- testFailureReferenceIsPassedToDelegates() : mixed
- testFirstTransportIsUsed() : mixed
- testMessageCanBeTriedOnNextTransportIfExceptionThrown() : mixed
- testRegisterPluginDelegatesToLoadedTransports() : mixed
- testRestartingTransportRestartsDeadDelegates() : mixed
- testStoppingTransportStopsAllDelegates() : mixed
- testTransportShowsAsNotStartedIfAllDelegatesDead() : mixed
- testTransportsWhichThrowExceptionsAreNotRetried() : mixed
- testZeroIsReturnedIfTransportReturnsZero() : mixed
- XtestTransportShowsAsNotStartedIfAllPingFails() : mixed
- 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 —testEachDelegateIsPinged()
public
testEachDelegateIsPinged() : mixed
Return values
mixed —testExceptionIsThrownIfAllTransportsDie()
public
testExceptionIsThrownIfAllTransportsDie() : mixed
Return values
mixed —testFailureReferenceIsPassedToDelegates()
public
testFailureReferenceIsPassedToDelegates() : mixed
Return values
mixed —testFirstTransportIsUsed()
public
testFirstTransportIsUsed() : mixed
Return values
mixed —testMessageCanBeTriedOnNextTransportIfExceptionThrown()
public
testMessageCanBeTriedOnNextTransportIfExceptionThrown() : 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 —testTransportShowsAsNotStartedIfAllDelegatesDead()
public
testTransportShowsAsNotStartedIfAllDelegatesDead() : mixed
Return values
mixed —testTransportsWhichThrowExceptionsAreNotRetried()
public
testTransportsWhichThrowExceptionsAreNotRetried() : mixed
Return values
mixed —testZeroIsReturnedIfTransportReturnsZero()
public
testZeroIsReturnedIfTransportReturnsZero() : mixed
Return values
mixed —XtestTransportShowsAsNotStartedIfAllPingFails()
public
XtestTransportShowsAsNotStartedIfAllPingFails() : mixed
Return values
mixed —getMockery()
protected
getMockery(mixed $class) : mixed
Parameters
- $class : mixed
Return values
mixed —tearDown()
protected
tearDown() : mixed
Return values
mixed —createPlugin()
private
createPlugin() : mixed
Return values
mixed —getTransport()
private
getTransport(array<string|int, mixed> $transports) : mixed
Parameters
- $transports : array<string|int, mixed>