/** * @expectedException InvalidArgumentException */ public function testInvalidMail() { $g = new Horde_Service_Gravatar(); $g->getId(0.0); }