PHP Class ActivityLog\Model\Event\ModelTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: gotcms/gotcms

Protected Properties

Свойство Type Description
$boostrap ActivityLog\Module
$object Comment

Méthodes publiques

Méthode Description
testDeleteWithWrongValues ( ) : void Test
testDeleteWithoutId ( ) : void Test
testFromArray ( ) : void Test
testFromFakeId ( ) : void Test
testFromId ( ) : void Test
testGetUser ( ) : void Test
testSave ( ) : void Test
testSaveWithIdShouldReturnTrue ( ) : void Test
testSaveWithInvalidDataShouldReturnException ( ) : void Test

Méthodes protégées

Méthode 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 méthode

This method is called before a test is executed.
protected setUp ( ) : void
Résultat void

tearDown() protected méthode

This method is called after a test is executed.
protected tearDown ( ) : void
Résultat void

testDeleteWithWrongValues() public méthode

Test
public testDeleteWithWrongValues ( ) : void
Résultat void

testDeleteWithoutId() public méthode

Test
public testDeleteWithoutId ( ) : void
Résultat void

testFromArray() public méthode

Test
public testFromArray ( ) : void
Résultat void

testFromFakeId() public méthode

Test
public testFromFakeId ( ) : void
Résultat void

testFromId() public méthode

Test
public testFromId ( ) : void
Résultat void

testGetUser() public méthode

Test
public testGetUser ( ) : void
Résultat void

testSave() public méthode

Test
public testSave ( ) : void
Résultat void

testSaveWithIdShouldReturnTrue() public méthode

Test
public testSaveWithIdShouldReturnTrue ( ) : void
Résultat void

testSaveWithInvalidDataShouldReturnException() public méthode

Test

Property Details

$boostrap protected_oe property

protected Module,ActivityLog $boostrap
Résultat ActivityLog\Module

$object protected_oe property

protected Comment $object
Résultat Comment