Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Stiphle
Throttle
LeakyBucketTest
PHP Class Stiphle\Throttle\LeakyBucketTest
DESCRIPTION
Author:
Dave Marshall (
[email protected]
)
Inheritance:
extends
PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Exibir arquivo
Open project: davedevelopment/stiphle
Protected Properties
Property
Type
Description
$storage
Public Methods
Method
Description
setup
( )
testGetEstimate
( )
This test assumes your machine is capable of processing the first five calls in less that a second :)
Method Details
setup()
public
method
public
setup
( )
testGetEstimate()
public
method
Nothing special here, ideally we need to mock the storage out and test it with different values etc
public
testGetEstimate
( )
Property Details
$storage
protected_oe property
protected
$storage