示例#1
0
 public function testGetVideoSerializer()
 {
     $this->assertEquals($this->videoSerializer, Serializer::getVideoSerializer());
 }
示例#2
0
 /**
  * {@inheritDoc}
  */
 protected function createVideoTransformer()
 {
     $transformer = new VideoTransformer();
     $transformer->setSerializer(Serializer::getVideoSerializer());
     return $transformer;
 }