/** * Test method for the <tt>getMac()</tt> and <tt>setMac($mac)</tt> functions. */ public function testGetSetMac() { $notification = new Notification(); $this->assertNull($notification->getMac()); $mac = new Mac(); $this->assertSame($notification, $notification->setMac($mac)); $this->assertSame($mac, $notification->getMac()); }