コード例 #1
0
 public function testCanCompareMoreMoney()
 {
     $price = new Money(1, new Currency('EUR'));
     $higherPrice = new Money(2, new Currency('EUR'));
     $this->assertTrue($higherPrice->isMoreThan($price));
 }