TestMockApplicationCms::create
Creates and instance of the mock JApplicationWeb object.
The test can implement the following overrides: - mockAppendBody - mockGetBody - mockPrepentBody - mockSetBody If any *Body methods are implemented in the test class, all should be implemented otherwise behaviour will be unreliable.
Signature
public function create(TestCase
$test,
array
$optionsĀ )
Parameters
-
$test
- A test object.
-
$options
- A set of options to configure the mock.
Returns
- PHPUnit_Framework_MockObject_MockObject