@Test
void shouldAddMedia() {

    MediaFileReader mfr = new MediaFileReader(mockGameContext) {
        @Override
        public File getMediaPlayerDirectory() {
            return testDir;
        }
    };
    MediaFile mediaTypeMediaFile = new MediaFile("MEDIA", "https://www.testMEDIA.fr/", "testMEDIA", "images/green/green.jpg");
    mfr.addMedia(mediaTypeMediaFile);
    assertTrue(mfr.getMediaList().contains(mediaTypeMediaFile));
    MediaFile urlTypeMediaFile = new MediaFile("URL", "https://www.testURL.fr/", "testURL", "images/green/green.jpg");
    mfr.addMedia(urlTypeMediaFile);
    assertTrue(mfr.getMediaList().contains(mediaTypeMediaFile));
    assertTrue(mfr.getMediaList().contains(urlTypeMediaFile));
}