예제 #1
0
 /**
  * Test method for the <tt>getMinimizeLink()</tt> and <tt>setMinimizeLink($minimizeLink)</tt> functions.
  */
 public function testGetSetMinimizeLink()
 {
     $notification = new Notification();
     $this->assertNull($notification->getMinimizeLink());
     $minimizeLink = MinimizeLink::bitly();
     $this->assertSame($notification, $notification->setMinimizeLink($minimizeLink));
     $this->assertSame($minimizeLink, $notification->getMinimizeLink());
 }