/** * @expectedException \DomainException */ public function testDivideWithInvalidDivisor() { $m = new Money(1.5, 'EUR'); $m->divide('1.5'); }