VuFind API Documentation

FilterFieldConversionListenerTest extends TestCase
in package
Uses MockSearchCommandTrait

Unit tests for FilterFieldConversionListener.

Tags
category

VuFind

author

Oliver Goldschmidt o.goldschmidt@tuhh.de

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Main Site

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

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

Return values
AbstractBase

Search results