/** * @dataProvider invalidProviderSatoshisToBtcRounded * @expectedException \InvalidArgumentException */ public function testInvalidDataSatoshisToBtcRounded($satoshis, $btc) { $this->assertEquals(BtcConverter::satoshisToBtcRounded($satoshis), $btc); }
/** * @param $amount * @return string */ public function satoshisToBtcFullFilter($amount) { $value = BtcConverter::satoshisToBtc($amount); return $value; }