/** * @expectedException UnknownCurrencyException */ public function testCreatingUnknownCurrency() { $a = money::XYZ(123); }