TestMockApplicationWeb::create
Creates and instance of the mock JApplicationWeb object.
The test can implement the following overrides: - mockAppendBody - mockGetBody - mockPrepentBody - mockSetBody - mockGetHeaders - mockSetHeaders - mockAllowCache 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