VuFind API Documentation

RetrieveBatchCommandTest extends TestCase
in package
Uses WithConsecutiveTrait

Unit tests for RetrieveBatchCommand.

Tags
category

VuFind

author

Sudharma Kellampalli skellamp@villanova.edu

license

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

link
https://vufind.org

Table of Contents

testExecute()  : void
Test RetrieveBatch with RetrieveBatchInterface
testExecuteWithoutRetrieveBatchInterface()  : void
Test RetrieveBatch without RetrieveBatchInterface
testgetArguments()  : void
Test getArguments method
testgetRecordIdentifiers()  : void
Test getRecordIdentifiers method
expectConsecutiveCalls()  : InvocationStubber
Expect consecutive calls to a mock.

Methods

testExecute()

Test RetrieveBatch with RetrieveBatchInterface

public testExecute() : void
Return values
void

testExecuteWithoutRetrieveBatchInterface()

Test RetrieveBatch without RetrieveBatchInterface

public testExecuteWithoutRetrieveBatchInterface() : void
Return values
void

testgetRecordIdentifiers()

Test getRecordIdentifiers method

public testgetRecordIdentifiers() : void
Return values
void

expectConsecutiveCalls()

Expect consecutive calls to a mock.

protected expectConsecutiveCalls(MockObject $mock, string $method, array<string|int, mixed> $expectedCalls[, mixed $returnValues = null ]) : InvocationStubber
Parameters
$mock : MockObject

Mock object

$method : string

Method expecting calls

$expectedCalls : array<string|int, mixed>

Expected input parameters

$returnValues : mixed = null

Return values to mock (either an array indexed parallel to $expectedCalls to return different values, or a single value to always return the same thing)

Return values
InvocationStubber

Search results