public function testAddingDifferentCurrenciesThrowsException() { $first = new Money(10, 'USD'); $second = new Money(20, 'GBP'); $this->expectException(DomainException::class); $first->add($second); }