@Test
public void testTransformVideo() throws Exception {

    VideoMetadataInfoEntity videoMetadataInfoEntity = videoMetadataInfoEntityJsonMapper.transformVideoMetadataInfoEntity( JSON_RESPONSE_VIDEO_GET_VIDEO );
    assertThat( videoMetadataInfoEntity, not( nullValue() ) );
    MediaItemEntity mediaItem = MediaItemEntityDataMapper.transform( videoMetadataInfoEntity );
    assertThat( mediaItem, not( nullValue() ) );
    assertThat( mediaItem.id(), is( equalTo( 1 ) ) );
    assertThat( mediaItem.media(), is( equalTo( Media.VIDEO ) ) );
    assertThat( mediaItem.title(), is( equalTo( "big buck bunny 1080p stereo" ) ) );
    assertThat( mediaItem.subTitle(), is( equalTo( "" ) ) );
    assertThat( mediaItem.description(), is( equalTo( "None" ) ) );
    assertThat( mediaItem.startDate(), is( nullValue() ) );
    assertThat( mediaItem.season(), is( equalTo( 0 ) ) );
    assertThat( mediaItem.episode(), is( equalTo( 0 ) ) );
    assertThat( mediaItem.studio(), is( equalTo( "" ) ) );
    assertThat( mediaItem.url(), is( equalTo( "/Content/GetFile?FileName=library%2FBlender%2Fbig_buck_bunny_1080p_stereo.ogg" ) ) );
    assertThat( mediaItem.fanartUrl(), is( nullValue() ) );
    assertThat( mediaItem.coverartUrl(), is( nullValue() ) );
    assertThat( mediaItem.bannerUrl(), is( nullValue() ) );
    assertThat( mediaItem.previewUrl(), is( nullValue() ) );
    assertThat( mediaItem.duration(), is( equalTo( 0L ) ) );
    assertThat( mediaItem.validationErrors(), hasSize( 0 ) );
}