public function testCanSetTrackingProcessingTime()
 {
     $queueTime = 12345678;
     $event = new Event();
     $event->setEventCategory('foo');
     $event->setEventAction('bar');
     $event->setQueueTime($queueTime);
     $package = $event->getPackage();
     $this->assertEquals($queueTime, $package['qt']);
 }
 public function testPaketEqualsSpecification()
 {
     /** @var Event $event */
     $event = new Event();
     $event->setEventCategory('foo');
     $event->setEventAction('bar');
     $event->setEventLabel('baz');
     $event->setEventValue('val');
     $packet = $event->getPackage();
     $this->assertEquals(array('t' => 'event', 'ec' => 'foo', 'ea' => 'bar', 'el' => 'baz', 'ev' => 'val'), $packet);
 }