public testconvertTokensToSeconds ( double $expected, integer $tokens, |
||
$expected | double | The expected seconds. |
$tokens | integer | The tokens. |
$rate | The rate. |
public function testconvertTokensToSeconds($expected, $tokens, Rate $rate)
{
$converter = new TokenConverter($rate);
$this->assertEquals($expected, $converter->convertTokensToSeconds($tokens));
}