PHP Class Xpressengine\Tests\Presenter\PresenterTest

Author: XE Developers ([email protected])
Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Show file Open project: xpressengine/xpressengine

Protected Properties

Property Type Description
$instanceConfig Mockery\MockInterface | Xpressengine\Routing\InstanceConfig
$request Mockery\MockInterface | Illuminate\Http\Request
$settings Mockery\MockInterface | Xpressengine\Settings\SettingsHandler
$skin Mockery\MockInterface | Xpressengine\Skin\SkinHandler
$theme Mockery\MockInterface | Xpressengine\Theme\ThemeHandler
$view Mockery\MockInterface | Illuminate\View\Factory

Public Methods

Method Description
setUp ( ) : void set up
tearDown ( ) : void tear down
testGet ( ) : void test get
testGetInvalidPresenter ( ) : void test get invalid renderer
testGetNotFoundFormat ( ) : void test get not found format
testGetProperty ( ) : void test get property
testHtmlRenderPartial ( ) : void test html render partial
testHtmlRenderPopup ( ) : void test html render popup
testMake ( ) : void test make
testRegister ( ) : void test register
testRenderType ( ) : void test render type
testSetSettingsSkin ( ) : void test set settings skin
testSetSkinTargetId ( ) : void test set skin target id
testShare ( ) : void test html render popup

Private Methods

Method Description
invokeMethod ( mixed &$object, string $methodName, array $parameters = [] ) : mixed invoked method

Method Details

setUp() public method

set up
public setUp ( ) : void
return void

tearDown() public method

tear down
public tearDown ( ) : void
return void

testGet() public method

test get
public testGet ( ) : void
return void

testGetInvalidPresenter() public method

test get invalid renderer
public testGetInvalidPresenter ( ) : void
return void

testGetNotFoundFormat() public method

test get not found format
public testGetNotFoundFormat ( ) : void
return void

testGetProperty() public method

test get property
public testGetProperty ( ) : void
return void

testHtmlRenderPartial() public method

test html render partial
public testHtmlRenderPartial ( ) : void
return void

testHtmlRenderPopup() public method

test html render popup
public testHtmlRenderPopup ( ) : void
return void

testMake() public method

test make
public testMake ( ) : void
return void

testRegister() public method

test register
public testRegister ( ) : void
return void

testRenderType() public method

test render type
public testRenderType ( ) : void
return void

testSetSettingsSkin() public method

test set settings skin
public testSetSettingsSkin ( ) : void
return void

testSetSkinTargetId() public method

test set skin target id
public testSetSkinTargetId ( ) : void
return void

testShare() public method

test html render popup
public testShare ( ) : void
return void

Property Details

$instanceConfig protected property

protected MockInterface,Mockery|InstanceConfig,Xpressengine\Routing $instanceConfig
return Mockery\MockInterface | Xpressengine\Routing\InstanceConfig

$request protected property

protected MockInterface,Mockery|Request,Illuminate\Http $request
return Mockery\MockInterface | Illuminate\Http\Request

$settings protected property

protected MockInterface,Mockery|SettingsHandler,Xpressengine\Settings $settings
return Mockery\MockInterface | Xpressengine\Settings\SettingsHandler

$skin protected property

protected MockInterface,Mockery|SkinHandler,Xpressengine\Skin $skin
return Mockery\MockInterface | Xpressengine\Skin\SkinHandler

$theme protected property

protected MockInterface,Mockery|ThemeHandler,Xpressengine\Theme $theme
return Mockery\MockInterface | Xpressengine\Theme\ThemeHandler

$view protected property

protected MockInterface,Mockery|Factory,Illuminate\View $view
return Mockery\MockInterface | Illuminate\View\Factory