Exemplo n.º 1
0
 /**
  * Gets ready for the test case.
  */
 public function setUp()
 {
     parent::setUp();
     $this->jsonTimekeeper = new TimekeepingSerializer(self::KEY_OF_DEFAULT_CODEC);
     $this->msgpackTimekeeper = new TimekeepingSerializer(self::KEY_OF_MSGPACK_CODEC);
     $this->jsonSerializer = new GenericSerializer(self::KEY_OF_DEFAULT_CODEC);
     $this->msgpackSerializer = new GenericSerializer(self::KEY_OF_MSGPACK_CODEC);
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function setUp()
 {
     parent::setUp();
 }