PHP 클래스 ParagonIE\EasyDB\Tests\SetAttributeTest

상속: extends GetAttributeTest
파일 보기 프로젝트 열기: paragonie/easydb

공개 메소드들

메소드 설명
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