Joomla Documentation by Component Creator
Namespaces
Interfaces
Classes
Overview
Classes
TestCaseDatabase
assignMockReturns
Introduction
Synopsis
Parameter
Return
TestCaseDatabase::
assignMockReturns
Assigns mock values to methods.
Signature
public function assignMockReturns(
$mockObject, array $array )
Parameters
$mockObject
The mock object.
$array
An associative array of methods to mock with return values:<br />
Returns
void