Joomla Documentation by Component Creator
Namespaces
Interfaces
Classes
Overview
Classes
TestMockDispatcher
create
Introduction
Synopsis
Parameter
Return
TestMockDispatcher::
create
Creates and instance of the mock JLanguage object.
Signature
public function create(
$test, [boolean $defaults = true] )
Parameters
$test
A test object.
$defaults
True to create the default mock handlers and triggers.
Returns