public function test_insertFunction()
 {
     $view = new CalendarView();
     $js_function_object = 'function () { alert("Watch out, Gringo!"); }';
     $view->setInsertFunction($js_function_object);
     $this->assertEquals($js_function_object, $view->getInsertFunction());
 }