FilterFieldConversionListenerTest
extends TestCase
in package
Uses
MockSearchCommandTrait
Unit tests for FilterFieldConversionListener.
Tags
Table of Contents
- testAttach() : void
- Test attaching listener.
- testFilterTranslation() : void
- Test the listener without setting an authorization service.
- getMockSearchCommand() : AbstractBase
- Get a mock search command.
Methods
testAttach()
Test attaching listener.
public
testAttach() : void
Return values
void —testFilterTranslation()
Test the listener without setting an authorization service.
public
testFilterTranslation() : void
This should return an empty array.
Return values
void —getMockSearchCommand()
Get a mock search command.
protected
getMockSearchCommand([ParamBag $params = null ][, mixed $context = null ][, string $backendId = 'foo' ][, mixed $result = null ]) : AbstractBase
Parameters
- $params : ParamBag = null
-
Parameters for command to return
- $context : mixed = null
-
Context for command to return
- $backendId : string = 'foo'
-
Backend ID for command
- $result : mixed = null
-
Result to return