Beispiel #1
0
 public function testHelperRendersNoPagesWithPageTrackingOff()
 {
     $this->tracker->setEnablePageTracking(false);
     $needle = '_gaq.push(["_trackPageview"])';
     $actual = $this->script->getCode();
     $this->assertNotEmpty($actual);
     $this->assertNotContains($needle, $actual);
 }