public function test__call() { $js = new CopixJSWidget(); $js->func("5"); $this->assertEquals('func("5");', _toString($js)); }