Exemplo n.º 1
0
 /**
  * Test: Set invalid length URL
  *
  * @covers \Pushy\Message::setUrl
  *
  * @expectedException \InvalidArgumentException
  */
 public function testSetUrlWithInvalidLength()
 {
     $this->message->setUrl(str_repeat('X', 501));
 }