PHP 클래스 Metaphore\Tests\CacheTest

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

공개 메소드들

메소드 설명
testCachesValue ( )
testCallableCanReturnDifferentValueIfNotStaleContentAvailableToServe ( )
testCallsCallableIfNotStaleContentAvailableToServe ( )
testGetReturnsResultEvenIfNoMetaphoreValueObjectStored ( )
testServesStaleValueIfOtherProcessIsGeneratingContent ( )

보호된 메소드들

메소드 설명
createFunc ( $result )
createLockManagerMock ( )

메소드 상세

createFunc() 보호된 메소드

protected createFunc ( $result )

createLockManagerMock() 보호된 메소드

protected createLockManagerMock ( )

testCachesValue() 공개 메소드

public testCachesValue ( )

testCallableCanReturnDifferentValueIfNotStaleContentAvailableToServe() 공개 메소드

testCallsCallableIfNotStaleContentAvailableToServe() 공개 메소드

testGetReturnsResultEvenIfNoMetaphoreValueObjectStored() 공개 메소드

testServesStaleValueIfOtherProcessIsGeneratingContent() 공개 메소드