/**
  * 
  */
 public function testContainersCollect()
 {
     $dataLayerCollector = new DataLayerCollector(new ParameterBag());
     $dataLayerCollector->collectContainer('foobar', 'http://');
     $containers = $dataLayerCollector->getContainers();
     $this->assertEquals('foobar', $containers[0]['name']);
 }
 /**
  * @param Track $event
  * @return void
  */
 public function onTcEvent(Track $event)
 {
     $this->collector->collectEvent($event->getTrackerName(), $event->getEventName(), $event->getValues());
 }