コード例 #1
0
ファイル: RateTest.php プロジェクト: arcanedev/currency
 /**
  * @test
  */
 public function testCanSetAndGetCurrenciesTwo()
 {
     $from = Currency::make('USD');
     $this->assertEquals($from->getIso(), $this->rate->setFrom($from)->getFromIso());
     $to = Currency::make('EUR');
     $this->assertEquals($to->getIso(), $this->rate->setTo($to)->getToIso());
 }