Beispiel #1
0
 public function testRenderLoad()
 {
     $renderer = new Renderer();
     $this->assertEquals('window.analytics.load("foo_key");', $renderer->renderLoad('foo_key'));
 }
Beispiel #2
0
 /**
  * Renders the load method.
  *
  * @param string $key
  *
  * @return string
  */
 public function load($key)
 {
     return $this->renderer->renderLoad($key);
 }