PHP Class Xpressengine\Tests\DynamicField\DatabaseProxyTest

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

Protected Properties

Property Type Description
$configHandler Mockery\MockInterface | Xpressengine\DynamicField\ConfigHandler
$handler Mockery\MockInterface | Xpressengine\DynamicField\DynamicFieldHandler
$registerHandler Mockery\MockInterface | Xpressengine\DynamicField\RegisterHandler

Public Methods

Method Description
setUp ( ) : void set up
tearDown ( ) : void tear down
testDelete ( ) : void test delete
testFirst ( ) : void test first
testGet ( ) : void test get
testInsert ( ) : void test insert
testOrders ( ) : void test orders
testPrivateMethod ( ) : void test private method
testSet ( ) : void test set
testSetWithoutTableOption ( ) : void test set without table option
testUpdate ( ) : void test update
testWheres ( ) : void test wheres

Private Methods

Method Description
getConfigEntity ( ) : Mockery\MockInterface | ConfigEntity get config entity
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

testDelete() public method

test delete
public testDelete ( ) : void
return void

testFirst() public method

test first
public testFirst ( ) : void
return void

testGet() public method

test get
public testGet ( ) : void
return void

testInsert() public method

test insert
public testInsert ( ) : void
return void

testOrders() public method

test orders
public testOrders ( ) : void
return void

testPrivateMethod() public method

test private method
public testPrivateMethod ( ) : void
return void

testSet() public method

test set
public testSet ( ) : void
return void

testSetWithoutTableOption() public method

test set without table option
public testSetWithoutTableOption ( ) : void
return void

testUpdate() public method

test update
public testUpdate ( ) : void
return void

testWheres() public method

test wheres
public testWheres ( ) : void
return void

Property Details

$configHandler protected property

protected MockInterface,Mockery|ConfigHandler,Xpressengine\DynamicField $configHandler
return Mockery\MockInterface | Xpressengine\DynamicField\ConfigHandler

$handler protected property

protected MockInterface,Mockery|DynamicFieldHandler,Xpressengine\DynamicField $handler
return Mockery\MockInterface | Xpressengine\DynamicField\DynamicFieldHandler

$registerHandler protected property

protected MockInterface,Mockery|RegisterHandler,Xpressengine\DynamicField $registerHandler
return Mockery\MockInterface | Xpressengine\DynamicField\RegisterHandler