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