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