Beispiel #1
0
 public function testDivideBy()
 {
     $amount100 = new Amount('100');
     $amount10 = $amount100->divideBy(new Amount('10'));
     $this->assertSame('100', $amount100->getString(0));
     $this->assertSame('10', $amount10->getString(0));
 }