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