private function givenMediaSerializerWillUnserializeMedia()
 {
     $this->mediaSizeSerializer->shouldReceive('unserialize')->andReturn($this->mediaSize);
 }
 /**
  * @test
  */
 public function itShouldBuildUsingStaticBuilder()
 {
     $serializer = TwitterMediaSizeSerializer::build();
     $this->assertInstanceOf(TwitterMediaSizeSerializer::class, $serializer);
 }
 /**
  * @return TwitterMediaSerializer
  */
 public static function build()
 {
     return new self(TwitterEntityIndicesSerializer::build(), TwitterMediaSizeSerializer::build());
 }