/** * @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()); }