public testGetTokensPerSecond ( double $expected, |
||
$expected | double | The expected rate in tokens per second. |
$rate | The rate. |
public function testGetTokensPerSecond($expected, Rate $rate)
{
$this->assertEquals($expected, $rate->getTokensPerSecond());
}