PHP 클래스 phpmock\MockTest

또한 보기: Mock
저자: Markus Malkusch ([email protected])
상속: extends AbstractMockTest
파일 보기 프로젝트 열기: php-mock/php-mock

공개 메소드들

메소드 설명
testDisableAll ( ) Tests disableAll().
testEnable ( ) Tests enable().
testReenable ( ) Tests disabling and enabling again.

보호된 메소드들

메소드 설명
defineFunction ( $namespace, $functionName )
disableMocks ( )
mockFunction ( $namespace, $functionName, callable $function )

메소드 상세

defineFunction() 보호된 메소드

protected defineFunction ( $namespace, $functionName )

disableMocks() 보호된 메소드

protected disableMocks ( )

mockFunction() 보호된 메소드

protected mockFunction ( $namespace, $functionName, callable $function )
$function callable

testDisableAll() 공개 메소드

Tests disableAll().
public testDisableAll ( )

testEnable() 공개 메소드

Tests enable().
public testEnable ( )

testReenable() 공개 메소드

Tests disabling and enabling again.
public testReenable ( )