PHP Class eZ\Publish\Core\REST\Server\Tests\Output\ValueObjectVisitor\CachedValueTest

Show file Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$defaultOptions
$options
$request Symfony\Component\HttpFoundation\Request

Public Methods

Method Description
setUp ( )
testVisit ( )
testVisitCacheTTLCacheDisabled ( )
testVisitLocationCache ( )
testVisitNoRequest ( )
testVisitNoUserHash ( )
testVisitViewCacheDisabled ( )

Protected Methods

Method Description
getConfigProviderMock ( ) : eZ\Publish\Core\MVC\ConfigResolverInterface | PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject
internalGetVisitor ( ) : ValueObjectVisitor Must return an instance of the tested visitor object.
visit ( $value )

Method Details

getConfigProviderMock() protected method

protected getConfigProviderMock ( ) : eZ\Publish\Core\MVC\ConfigResolverInterface | PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject
return eZ\Publish\Core\MVC\ConfigResolverInterface | PHPUnit_Framework_MockObject_MockObjec\PHPUnit_Framework_MockObject_MockObject

internalGetVisitor() protected method

Must return an instance of the tested visitor object.
protected internalGetVisitor ( ) : ValueObjectVisitor
return eZ\Publish\Core\REST\Common\Output\ValueObjectVisitor

setUp() public method

public setUp ( )

testVisit() public method

public testVisit ( )

testVisitCacheTTLCacheDisabled() public method

testVisitLocationCache() public method

testVisitNoRequest() public method

public testVisitNoRequest ( )

testVisitNoUserHash() public method

public testVisitNoUserHash ( )

testVisitViewCacheDisabled() public method

visit() protected method

protected visit ( $value )

Property Details

$defaultOptions protected property

protected $defaultOptions

$options protected property

protected $options

$request protected property

protected Request,Symfony\Component\HttpFoundation $request
return Symfony\Component\HttpFoundation\Request