PHP Class Gc\User\ModelTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: gotcms/gotcms

Protected Properties

Property Type Description
$object Model

Public Methods

Method Description
testAuthenticate ( ) : void Test
testDelete ( ) : void Test
testDeleteWithWrongId ( ) : void Test
testDeleteWithoutId ( ) : void Test
testFakeAuthenticate ( ) : void Test
testFromArray ( ) : void Test
testFromFakeId ( ) : void Test
testFromId ( ) : void Test
testGetName ( ) : void Test
testGetRole ( ) : void Test
testSave ( ) : void Test
testSaveWithWrongValues ( ) : void Test
testSendForgotPasswordWithEmail ( ) : void Test
testSendForgotPasswordWithWrongEmail ( ) : void Test
testSetEmail ( ) : void Test
testSetEncryptedPassword ( ) : void Test
testSetFakeEmail ( ) : 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

testAuthenticate() public method

Test
public testAuthenticate ( ) : void
return void

testDelete() public method

Test
public testDelete ( ) : void
return void

testDeleteWithWrongId() public method

Test
public testDeleteWithWrongId ( ) : void
return void

testDeleteWithoutId() public method

Test
public testDeleteWithoutId ( ) : void
return void

testFakeAuthenticate() public method

Test
public testFakeAuthenticate ( ) : void
return void

testFromArray() public method

Test
public testFromArray ( ) : void
return void

testFromFakeId() public method

Test
public testFromFakeId ( ) : void
return void

testFromId() public method

Test
public testFromId ( ) : void
return void

testGetName() public method

Test
public testGetName ( ) : void
return void

testGetRole() public method

Test
public testGetRole ( ) : void
return void

testSave() public method

Test
public testSave ( ) : void
return void

testSaveWithWrongValues() public method

Test
public testSaveWithWrongValues ( ) : void
return void

testSendForgotPasswordWithEmail() public method

Test

testSendForgotPasswordWithWrongEmail() public method

Test

testSetEmail() public method

Test
public testSetEmail ( ) : void
return void

testSetEncryptedPassword() public method

Test
public testSetEncryptedPassword ( ) : void
return void

testSetFakeEmail() public method

Test
public testSetFakeEmail ( ) : void
return void

Property Details

$object protected_oe property

protected Model,Gc\User $object
return Model