public function testShouldAllowRemovingIndividualDijits() { $this->helper->addDijit('foo', array('dojoType' => 'dijit.form.Form')); $dijits = $this->helper->getDijits(); $this->assertTrue(is_array($dijits)); $this->assertEquals(1, count($dijits)); $this->helper->removeDijit('foo'); $dijits = $this->helper->getDijits(); $this->assertTrue(is_array($dijits)); $this->assertEquals(0, count($dijits)); }