Example #1
0
 /**
  * @covers BackBee\NestedNode\MediaFolder::getParam
  */
 public function testGetParam()
 {
     $params = array('left' => $this->keyword->getLeftnode(), 'right' => $this->keyword->getRightnode(), 'level' => $this->keyword->getLevel());
     $this->assertEquals($params, $this->keyword->getParam());
     $this->assertNull($this->keyword->getParam('fake'));
     $this->assertEquals($this->keyword->getLeftnode(), $this->keyword->getParam('left'));
 }