/**
  * @return TwitterExtendedEntitySerializer
  */
 public static function build()
 {
     return new self(TwitterEntityIndicesSerializer::build(), TwitterMediaSizeSerializer::build(), TwitterVariantMediaSerializer::build());
 }
 /**
  * @test
  */
 public function itShouldBuildUsingStaticBuilder()
 {
     $serializer = TwitterVariantMediaSerializer::build();
     $this->assertInstanceOf(TwitterVariantMediaSerializer::class, $serializer);
 }
 private function itWillUnserializeVariantMedia()
 {
     $this->variantMediaSerializer->shouldReceive('unserialize')->andReturn($this->variant);
 }