Toggle navigation
Hot Examples
RU
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
Показать файл
Открыть проект
Защищенные свойства (Protected)
Свойство
Тип
Описание
$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