/** * Test: Set invalid length URL title * * @covers \Pushy\Message::setUrlTitle * * @expectedException \InvalidArgumentException */ public function testSetUrlTitleWithInvalidLength() { $this->message->setUrlTitle(str_repeat('X', 51)); }