/**
  * @covers \Gamma\Pushpin\PushpinBundle\Services\Events\Json\EventParser::getEventJson
  */
 public function testGetEventJson()
 {
     static::assertEquals('{
             "string":"test string",
             "bool":true,
             "int":150,
             "float":150.9999,
             "array": {
                 "key":"value"
             }
         }', self::$instance->getEventJson(self::$event));
 }
 /**
  * {@inheritdoc}
  */
 public function __construct($type, $content)
 {
     parent::__construct($type, $content);
     $this->name = EventParser::getEventName($this);
     $this->json = EventParser::getEventJson($this);
 }