Esempio n. 1
0
 public function testTwoPricesWithSameMoneyAndDifferentConversionShouldNotBeEqual()
 {
     $price1 = new Price(['EUR' => 100], ['EUR/GBP 1.100']);
     $price2 = new Price(['EUR' => 100]);
     $this->assertFalse($price1->equals($price2));
     $this->assertFalse($price2->equals($price1));
 }