PHP 클래스 ActivityLog\Model\Event\ModelTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: gotcms/gotcms

보호된 프로퍼티들

프로퍼티 타입 설명
$boostrap ActivityLog\Module
$object Comment

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
setUp ( ) : void Sets up the fixture, for example, opens a network connection.
tearDown ( ) : void Tears down the fixture, for example, closes a network connection.

메소드 상세

setUp() 보호된 메소드

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

tearDown() 보호된 메소드

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

testDeleteWithWrongValues() 공개 메소드

Test
public testDeleteWithWrongValues ( ) : void
리턴 void

testDeleteWithoutId() 공개 메소드

Test
public testDeleteWithoutId ( ) : void
리턴 void

testFromArray() 공개 메소드

Test
public testFromArray ( ) : void
리턴 void

testFromFakeId() 공개 메소드

Test
public testFromFakeId ( ) : void
리턴 void

testFromId() 공개 메소드

Test
public testFromId ( ) : void
리턴 void

testGetUser() 공개 메소드

Test
public testGetUser ( ) : void
리턴 void

testSave() 공개 메소드

Test
public testSave ( ) : void
리턴 void

testSaveWithIdShouldReturnTrue() 공개 메소드

Test

testSaveWithInvalidDataShouldReturnException() 공개 메소드

Test

프로퍼티 상세

$boostrap 보호되어 있는 프로퍼티

protected Module,ActivityLog $boostrap
리턴 ActivityLog\Module

$object 보호되어 있는 프로퍼티

protected Comment $object
리턴 Comment