PHP Class Neos\Neos\Tests\Unit\TypoScript\PluginImplementationTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Show file Open project: neos/neos-development-collection

Protected Properties

Property Type Description
$mockControllerContext Neos\Flow\Mvc\Controller\ControllerContext
$mockTsRuntime Neos\Fusion\Core\Runtime
$pluginImplementation Neos\Neos\TypoScript\PluginImplementation

Public Methods

Method Description
evaluateSetHeaderIntoParent ( $message, $input, $expected ) Test if the response headers of the plugin - set within the plugin action / dispatch - were set into the parent response.
responseHeadersDataprovider ( ) : array
setUp ( )

Private Methods

Method Description
_setHeadersIntoResponse ( Response $response, $headers ) Sets the array based headers into the Response

Method Details

evaluateSetHeaderIntoParent() public method

Test if the response headers of the plugin - set within the plugin action / dispatch - were set into the parent response.
public evaluateSetHeaderIntoParent ( $message, $input, $expected )

responseHeadersDataprovider() public method

setUp() public method

public setUp ( )

Property Details

$mockControllerContext protected property

protected ControllerContext,Neos\Flow\Mvc\Controller $mockControllerContext
return Neos\Flow\Mvc\Controller\ControllerContext

$mockTsRuntime protected property

protected Runtime,Neos\Fusion\Core $mockTsRuntime
return Neos\Fusion\Core\Runtime

$pluginImplementation protected property

protected PluginImplementation,Neos\Neos\TypoScript $pluginImplementation
return Neos\Neos\TypoScript\PluginImplementation