/** * @expectedException RuntimeException * @expectedExceptionMessage Not implemented */ public function testDivByZero() { $decimal1 = new Decimal("1"); $decimal2 = new Decimal("0"); $decimal1->div($decimal2); }