$m->setRequestUrl("/foo");
$m->setType(http\Message::TYPE_REQUEST);
$this->setExpectedException("PHPUnit_Framework_Error_Warning");
$m->setRequestUrl("/foo");
$m->setType(http\Message::TYPE_REQUEST);
$this->setExpectedException("PHPUnit_Framework_Error_Warning");