Joomla Documentation by Component Creator
Namespaces
Interfaces
Classes
Overview
Classes
TestCase
assignMockReturns
Introduction
Synopsis
Parameter
Return
TestCase::
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