/** * Tests the switcher method. * * @return void * * @since 3.1 */ public function testSwitcher() { JHtmlBehavior::switcher(); $this->assertEquals(array('JHtmlBehavior::core' => true, 'JHtmlBehavior::framework' => array('core' => true), 'JHtmlBehavior::switcher' => true), JHtmlBehaviorInspector::getLoaded(), 'The switcher behavior is not loaded with all dependencies'); }