abstractclass TransportFactoryTestCase extendsTestCase

A test case to ease testing a notifier transport factory.

Methods

static iterable
supportsProvider()

No description

static iterable
createProvider()

No description

static iterable
unsupportedSchemeProvider()

No description

static iterable
incompleteDsnProvider()

No description

static iterable
testSupports(bool$expected,string$dsn)

No description

testCreate(string$expected,string$dsn)

No description

testUnsupportedSchemeException(string$dsn,string$message =null)

No description

testIncompleteDsnException(string$dsn,string$message =null)

No description

testMissingRequiredOptionException(string$dsn,string$message =null)

No description

Details

abstractTransportFactoryInterface createFactory()

abstractstaticiterable supportsProvider()

Return Value

iterable bool, 1: string}>

abstractstaticiterable createProvider()

Return Value

iterable string, 1: string, 2: TransportInterface}>

staticiterable unsupportedSchemeProvider()

Return Value

iterable string, 1: string|null}>

staticiterable incompleteDsnProvider()

Return Value

iterable string, 1: string|null}>

staticiterable missingRequiredOptionProvider()

Return Value

iterable string, 1: string|null}>

testSupports(bool$expected,string$dsn)

Parameters

bool $expected
string $dsn

testCreate(string$expected,string$dsn)

Parameters

string $expected
string $dsn

testUnsupportedSchemeException(string$dsn,string$message =null)

Parameters

string $dsn
string $message

testIncompleteDsnException(string$dsn,string$message =null)

Parameters

string $dsn
string $message

testMissingRequiredOptionException(string$dsn,string$message =null)

Parameters

string $dsn
string $message