public function testIsRule() { $val = val('1 usd'); is(true, $val->isRule('USD')); $val->convert('RUB'); is(false, $val->isRule('USD')); }