/** * @expectedException \Bee4\Transport\Exception\InvalidArgumentException */ public function testSetInvalidHost() { $url = new Url('http://www.bee4.fr'); $url->host(0); }