PHP Class Xpressengine\Tests\Document\DocumentHandlerTest

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
显示文件 Open project: xpressengine/xpressengine

Protected Properties

Property Type Description
$configHandler
$conn
$instanceManager
$request

Public Methods

Method Description
setUp ( ) : void set up
tearDown ( ) : void tear down
testAdd ( ) : void test add document
testGet ( ) : void test get
testGetFailDocumentNotFound ( ) test get
testGetProperty ( ) : void test get property
testPut ( ) : void test add document
testPutWithDifferentInstanceId ( ) : void instance id 를 변경해서 수정하는 경우
testRemove ( ) : void test remove

Private Methods

Method Description
getConfigEntity ( ) : Mockery\MockInterface | ConfigEntity get config entity
getDocModel ( ) : Mockery\MockInterface | Document
getHandler ( ) get document handler instance
getPaginator ( array $items ) : Mockery\MockInterface | Illuminate\Pagination\LengthAwarePaginator
getRevisionModel ( ) : Mockery\MockInterface | Revision
getUser ( ) : Mockery\MockInterface | Xpressengine\User\UserInterface get User instance

Method Details

setUp() public method

set up
public setUp ( ) : void
return void

tearDown() public method

tear down
public tearDown ( ) : void
return void

testAdd() public method

test add document
public testAdd ( ) : void
return void

testGet() public method

test get
public testGet ( ) : void
return void

testGetFailDocumentNotFound() public method

test get

testGetProperty() public method

test get property
public testGetProperty ( ) : void
return void

testPut() public method

test add document
public testPut ( ) : void
return void

testPutWithDifferentInstanceId() public method

instance id 를 변경해서 수정하는 경우

testRemove() public method

test remove
public testRemove ( ) : void
return void

Property Details

$configHandler protected_oe property

protected $configHandler

$conn protected_oe property

protected $conn

$instanceManager protected_oe property

protected $instanceManager

$request protected_oe property

protected $request