PHP Класс ParagonIE\EasyDB\Tests\SetAttributeTest

Наследование: extends GetAttributeTest
Показать файл Открыть проект

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

Метод Описание
GoodFactoryCreateArgument2EasyDBForSetPDOAttributeThrowsExceptionProvider ( ) : array EasyDB data provider Returns an array of callables that return instances of EasyDB
testAttribute ( callable $cb, $attr, string $attrName )
testSetAttributeThrowsException ( callable $cb, integer $attribute, $value, string $exceptionClassName, string $exceptionMessage ) Test which attributes will always throw an exception when set

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

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

EasyDB data provider Returns an array of callables that return instances of EasyDB
См. также: EasyDBTest::GoodFactoryCreateArgument2EasyDBProvider()

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

public testAttribute ( callable $cb, $attr, string $attrName )
$cb callable
$attr
$attrName string

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

Test which attributes will always throw an exception when set
public testSetAttributeThrowsException ( callable $cb, integer $attribute, $value, string $exceptionClassName, string $exceptionMessage )
$cb callable
$attribute integer
$value
$exceptionClassName string
$exceptionMessage string