/** * Test method for the <tt>getLink()</tt> and <tt>setLink($link)</tt> functions. */ public function testGetSetLink() { $notification = new Notification(); $this->assertNull($notification->getLink()); $this->assertSame($notification, $notification->setLink('http://www.gomoob.com')); $this->assertEquals('http://www.gomoob.com', $notification->getLink()); }