PHP 클래스 Scalr\Tests\Api\ApiEntityAdapterTest

부터: 5.11 (11.11.2015)
저자: Andrii Penchuk ([email protected])
상속: extends Scalr\Tests\TestCase
파일 보기 프로젝트 열기: scalr/scalr

보호된 프로퍼티들

프로퍼티 타입 설명
$entity2Adapter Scalr\Tests\Fixtures\Api\DataType\TestApiEntity2Adapter Test adapter with setting properties

공개 메소드들

메소드 설명
notValidRequestObjectsProvider ( ) : array Provider for testValidateForbidSymbol
providerConvertInputValue ( ) : array Provider for testConvertInputValue
setUpBeforeClass ( ) Setups test adapter
testConvertInputValue ( string $filedType, mixed $value )
testToEntity ( )
testValidateForbidSymbol ( stdClass $object ) The test for the detection of banned symbols in the properties of an object
testValidateObject ( ) Test validate object

메소드 상세

notValidRequestObjectsProvider() 공개 메소드

Provider for testValidateForbidSymbol

providerConvertInputValue() 공개 메소드

Provider for testConvertInputValue
public providerConvertInputValue ( ) : array
리턴 array

setUpBeforeClass() 공개 정적인 메소드

Setups test adapter
public static setUpBeforeClass ( )

testConvertInputValue() 공개 메소드

public testConvertInputValue ( string $filedType, mixed $value )
$filedType string
$value mixed Value what we have to convert

testToEntity() 공개 메소드

public testToEntity ( )

testValidateForbidSymbol() 공개 메소드

The test for the detection of banned symbols in the properties of an object
public testValidateForbidSymbol ( stdClass $object )
$object stdClass test request object

testValidateObject() 공개 메소드

Test validate object
public testValidateObject ( )

프로퍼티 상세

$entity2Adapter 보호되어 있는 정적으로 프로퍼티

Test adapter with setting properties
protected static TestApiEntity2Adapter,Scalr\Tests\Fixtures\Api\DataType $entity2Adapter
리턴 Scalr\Tests\Fixtures\Api\DataType\TestApiEntity2Adapter