\TestMockApplicationCms
Class to mock JApplicationCms.
Synopsis
class TestMockApplicationCms
extends TestMockApplicationWeb
{
- // methods
- public static PHPUnit_Framework_MockObject_MockObject create()
- // Inherited methods from TestMockApplicationWeb
- public static PHPUnit_Framework_MockObject_MockObject create()
- public static mixed mockAppendBody()
- public static mixed mockGetBody()
- public static mixed mockPrependBody()
- public static void mockSetBody()
- public static array mockGetHeaders()
- public void mockSetHeader()
- public static void mockClearHeaders()
- public static boolean mockAllowCache()
Hierarchy
Extends
Members
public
- $body
—
array
Mock storage for the response body. - $cachable
—
boolean
Mock storage for the response cache status. - $headers
—
array
Mock storage for the response headers.
Methods
public
- create() — Creates and instance of the mock JApplicationWeb object.
Inherited from TestMockApplicationWeb
public
- create() — Creates and instance of the mock JApplicationWeb object.
- mockAllowCache() — Mock JApplicationWeb->allowCache method.
- mockAppendBody() — Mock JApplicationWeb->appendBody method.
- mockClearHeaders() — Mock JApplicationWeb->clearHeaders method.
- mockGetBody() — Mock JApplicationWeb->getBody method.
- mockGetHeaders() — Mock JApplicationWeb->getHeaders method.
- mockPrependBody() — Mock JApplicationWeb->appendBody method.
- mockSetBody() — Mock JApplicationWeb->setBody method.
- mockSetHeader() — Mock JApplicationWeb->setHeader method.