public function testDividePrices() { $price = new Price(['EUR' => 20, 'USD' => 20]); $this->assertEquals(10, $price->divide(2)->getAmount('USD')); }