PHP Class Neos\ContentRepository\Tests\Unit\FlowQueryOperations\CacheLifetimeOperationTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Mostrar archivo Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$dateFixtures array
$now DateTime
$operation Neos\ContentRepository\Eel\FlowQueryOperations\CacheLifetimeOperation

Public Methods

Method Description
canEvaluateReturnsTrueIfNodeIsInContext ( )
evaluateReturnsMinimumOfFutureHiddenDates ( $nodes, $expectedLifetime )
nodePropertiesAndLifetime ( )
setUp ( )

Protected Methods

Method Description
buildFlowQueryWithNodesInContext ( array $nodes ) : FlowQuery

Method Details

buildFlowQueryWithNodesInContext() protected method

protected buildFlowQueryWithNodesInContext ( array $nodes ) : FlowQuery
$nodes array Array of nodes with properties for the FlowQuery context
return Neos\Eel\FlowQuery\FlowQuery

canEvaluateReturnsTrueIfNodeIsInContext() public method

evaluateReturnsMinimumOfFutureHiddenDates() public method

public evaluateReturnsMinimumOfFutureHiddenDates ( $nodes, $expectedLifetime )

nodePropertiesAndLifetime() public method

setUp() public method

public setUp ( )

Property Details

$dateFixtures protected_oe property

protected array $dateFixtures
return array

$now protected_oe property

protected DateTime $now
return DateTime

$operation protected_oe property

protected CacheLifetimeOperation,Neos\ContentRepository\Eel\FlowQueryOperations $operation
return Neos\ContentRepository\Eel\FlowQueryOperations\CacheLifetimeOperation