public static VideosContainerResource mediaToVideo(MediaContainerResource mediaContainer) {
    return new VideosContainerResource(
        mediaContainer
            .getAlbums()
            .stream()
            .map(MediaAlbum::mediaToVideoAlbum)
            .collect(Collectors.toList()),
        mediaContainer.getVideos());
  }
@Test
  public void verifyMediaToVideoContainer() {
    List<MediaAlbum> mediaAlbums =
        ImmutableList.of(new MediaAlbum("id1", "albumb1", "This:a fake album!"));
    List<VideoAlbum> videoAlbums =
        ImmutableList.of(new VideoAlbum("id1", "albumb1", "This:a fake album!"));
    List<VideoModel> videos = ImmutableList.of(
        new VideoModel(
            "Vid1", "http://fake.com/1.mp4", "A vid", "mediatype", "p1", "id1", false, null),
        new VideoModel(
            "Vid3", "http://fake.com/2.mp4", "A vid", "mediatype", "p3", "id1", false, null));
    MediaContainerResource data = new MediaContainerResource(mediaAlbums, null, videos);

    VideosContainerResource expected = new VideosContainerResource(videoAlbums, videos);
    VideosContainerResource actual = MediaContainerResource.mediaToVideo(data);
    assertEquals(expected, actual);
  }