public function testGetToolbarAsJs() { $this->object->setParameters(array('toolbar-items' => array('Source' => '1'))); $this->assertEquals("[['Source'],]", $this->object->getToolbarAsJs()); }