/** * IsMore values */ public function testIsMoreValues() { $currency = new Currency\Currency(array('currency' => 'EUR', 'locale' => 'de_AT', 'value' => 100)); $currency2 = new Currency\Currency(array('currency' => 'EUR', 'locale' => 'de_AT', 'value' => 100)); $this->assertFalse($currency->isMore($currency2)); $currency3 = new Currency\Currency(array('currency' => 'EUR', 'locale' => 'de_AT', 'value' => 99)); $this->assertTrue($currency->isMore($currency3)); }