예제 #1
0
 /**
  * @covers Kunstmaan\AdminBundle\Helper\Menu\MenuItem::addAttributes
  * @covers Kunstmaan\AdminBundle\Helper\Menu\MenuItem::getAttributes
  */
 public function testAddGetAttributes()
 {
     $attributes = array('attribute1' => 1, 'attribute2' => 2);
     $this->object->addAttributes($attributes);
     $this->assertEquals($attributes, $this->object->getAttributes());
 }