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