/** * Test method for the <tt>getPageId()</tt> and <tt>setPageId($pageId)</tt> functions. */ public function testGetSetPageId() { $notification = new Notification(); $this->assertNull($notification->getPageId()); $this->assertSame($notification, $notification->setPageId(15)); $this->assertEquals(15, $notification->getPageId()); }