Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Stiphle
Throttle
LeakyBucketTest
PHP 클래스 Stiphle\Throttle\LeakyBucketTest
DESCRIPTION
저자:
Dave Marshall (
[email protected]
)
상속:
extends
PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
파일 보기
프로젝트 열기: davedevelopment/stiphle
보호된 프로퍼티들
프로퍼티
타입
설명
$storage
공개 메소드들
메소드
설명
setup
( )
testGetEstimate
( )
This test assumes your machine is capable of processing the first five calls in less that a second :)
메소드 상세
setup()
공개
메소드
public
setup
( )
testGetEstimate()
공개
메소드
Nothing special here, ideally we need to mock the storage out and test it with different values etc
public
testGetEstimate
( )
프로퍼티 상세
$storage
보호되어 있는 프로퍼티
protected
$storage