PHP Class Neos\FluidAdaptor\Tests\Unit\Core\Widget\AjaxWidgetComponentTest

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

Protected Properties

Property Type Description
$ajaxWidgetComponent Neos\FluidAdaptor\Core\Widget\AjaxWidgetComponent
$mockAjaxWidgetContextHolder Neos\FluidAdaptor\Core\Widget\AjaxWidgetContextHolder | PHPUnit_Framework_MockObject_MockObject
$mockComponentContext Neos\Flow\Http\Component\ComponentContext | PHPUnit_Framework_MockObject_MockObject
$mockDispatcher Neos\Flow\Mvc\Dispatcher | PHPUnit_Framework_MockObject_MockObject
$mockHashService Neos\Flow\Security\Cryptography\HashService | PHPUnit_Framework_MockObject_MockObject
$mockHttpRequest Neos\Flow\Http\Request | PHPUnit_Framework_MockObject_MockObject
$mockHttpResponse Neos\Flow\Http\Response | PHPUnit_Framework_MockObject_MockObject
$mockObjectManager Neos\Flow\ObjectManagement\ObjectManagerInterface | PHPUnit_Framework_MockObject_MockObject
$mockPropertyMapper Neos\Flow\Property\PropertyMapper | PHPUnit_Framework_MockObject_MockObject
$mockPropertyMappingConfiguration Neos\Flow\Property\PropertyMappingConfiguration | PHPUnit_Framework_MockObject_MockObject
$mockSecurityContext Neos\Flow\Security\Context | PHPUnit_Framework_MockObject_MockObject

Public Methods

Method Description
extractWidgetContextDecodesSerializedWidgetContextIfPresent ( )
handleCancelsComponentChainIfWidgetContextIsPresent ( )
handleDispatchesActionRequestIfWidgetContextIsPresent ( )
handleDoesNotCreateActionRequestIfHttpRequestContainsNoWidgetContext ( )
handleInjectsActionRequestToSecurityContext ( )
handleSetsWidgetContextAndControllerObjectNameIfWidgetIdIsPresent ( )
setUp ( )

Method Details

extractWidgetContextDecodesSerializedWidgetContextIfPresent() public method

handleCancelsComponentChainIfWidgetContextIsPresent() public method

handleDispatchesActionRequestIfWidgetContextIsPresent() public method

handleDoesNotCreateActionRequestIfHttpRequestContainsNoWidgetContext() public method

handleInjectsActionRequestToSecurityContext() public method

handleSetsWidgetContextAndControllerObjectNameIfWidgetIdIsPresent() public method

setUp() public method

public setUp ( )

Property Details

$ajaxWidgetComponent protected property

protected AjaxWidgetComponent,Neos\FluidAdaptor\Core\Widget $ajaxWidgetComponent
return Neos\FluidAdaptor\Core\Widget\AjaxWidgetComponent

$mockAjaxWidgetContextHolder protected property

protected AjaxWidgetContextHolder,Neos\FluidAdaptor\Core\Widget|PHPUnit_Framework_MockObject_MockObject $mockAjaxWidgetContextHolder
return Neos\FluidAdaptor\Core\Widget\AjaxWidgetContextHolder | PHPUnit_Framework_MockObject_MockObject

$mockComponentContext protected property

protected ComponentContext,Neos\Flow\Http\Component|PHPUnit_Framework_MockObject_MockObject $mockComponentContext
return Neos\Flow\Http\Component\ComponentContext | PHPUnit_Framework_MockObject_MockObject

$mockDispatcher protected property

protected Dispatcher,Neos\Flow\Mvc|PHPUnit_Framework_MockObject_MockObject $mockDispatcher
return Neos\Flow\Mvc\Dispatcher | PHPUnit_Framework_MockObject_MockObject

$mockHashService protected property

protected HashService,Neos\Flow\Security\Cryptography|PHPUnit_Framework_MockObject_MockObject $mockHashService
return Neos\Flow\Security\Cryptography\HashService | PHPUnit_Framework_MockObject_MockObject

$mockHttpRequest protected property

protected Request,Neos\Flow\Http|PHPUnit_Framework_MockObject_MockObject $mockHttpRequest
return Neos\Flow\Http\Request | PHPUnit_Framework_MockObject_MockObject

$mockHttpResponse protected property

protected Response,Neos\Flow\Http|PHPUnit_Framework_MockObject_MockObject $mockHttpResponse
return Neos\Flow\Http\Response | PHPUnit_Framework_MockObject_MockObject

$mockObjectManager protected property

protected ObjectManagerInterface,Neos\Flow\ObjectManagement|PHPUnit_Framework_MockObject_MockObject $mockObjectManager
return Neos\Flow\ObjectManagement\ObjectManagerInterface | PHPUnit_Framework_MockObject_MockObject

$mockPropertyMapper protected property

protected PropertyMapper,Neos\Flow\Property|PHPUnit_Framework_MockObject_MockObject $mockPropertyMapper
return Neos\Flow\Property\PropertyMapper | PHPUnit_Framework_MockObject_MockObject

$mockPropertyMappingConfiguration protected property

protected PropertyMappingConfiguration,Neos\Flow\Property|PHPUnit_Framework_MockObject_MockObject $mockPropertyMappingConfiguration
return Neos\Flow\Property\PropertyMappingConfiguration | PHPUnit_Framework_MockObject_MockObject

$mockSecurityContext protected property

protected Context,Neos\Flow\Security|PHPUnit_Framework_MockObject_MockObject $mockSecurityContext
return Neos\Flow\Security\Context | PHPUnit_Framework_MockObject_MockObject