Пример #1
0
 public function testShouldAllowClearingArbitraryJsStack()
 {
     $this->testShouldAllowAddingArbitraryJsToPrimaryDojoScriptTag();
     $this->helper->clearJavascript();
     $js = $this->helper->getJavascript();
     $this->assertTrue(is_array($js));
     $this->assertEquals(0, count($js));
 }