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
bandwidthThrottle
tokenBucket
RateTest
testInvalidUnit
bandwidthThrottle\tokenBucket\RateTest::testInvalidUnit PHP Method
RateTest Class Documentation
Exibir arquivo
Open project: bandwidth-throttle/token-bucket
testInvalidUnit()
public
method
Tests building a rate with an invalid unit fails.
public
testInvalidUnit
( )
public function testInvalidUnit() { new Rate(1, "invalid"); }
RateTest
provideTestGetTokensPerSecond
provideTestInvalidAmount
testGetTokensPerSecond
testInvalidAmount
testInvalidUnit