PHP Class Gc\View\Helper\AdminTest

Inheritance: extends PHPUnit_Framework_TestCase
Mostra file Open project: gotcms/gotcms

Protected Properties

Property Type Description
$user Gc\User\Model

Public Methods

Method Description
testInvokeWithAUthenticationShouldReturnUserModel ( ) : void Test
testInvokeWithoutAuthenticationShouldReturnFalse ( ) : void Test

Protected Methods

Method Description
setUp ( ) : void Sets up the fixture, for example, opens a network connection.
tearDown ( ) : void Tears down the fixture, for example, closes a network connection.

Method Details

setUp() protected method

This method is called before a test is executed.
protected setUp ( ) : void
return void

tearDown() protected method

This method is called after a test is executed.
protected tearDown ( ) : void
return void

testInvokeWithAUthenticationShouldReturnUserModel() public method

Test

testInvokeWithoutAuthenticationShouldReturnFalse() public method

Test

Property Details

$user protected_oe property

protected Model,Gc\User $user
return Gc\User\Model