### Question:
Media { public static byte[] getMediaDataFromUrl(String url) throws IOException { return getMediaDataFromUrl(new URL(url)); } private  Media(); static byte[] getMediaDataFromFile(String fileName); static byte[] getMediaDataFromFile(File file); static byte[] getMediaDataFromUrl(String url); static byte[] getMediaDataFromUrl(URL url); static void saveMediaDataToFile(byte[] mediaData, String fileName); static void saveMediaDataToFile(byte[] mediaData, File file);  }### Answer:
@Test public void testGetMediaDataFromUrl_stringArg() throws IOException { assertArrayEquals(TEST_DATA, Media.getMediaDataFromUrl(inputFile.toURI().toString())); }
@Test public void testGetMediaDataFromUrl_urlArg() throws IOException { assertArrayEquals(TEST_DATA, Media.getMediaDataFromUrl(inputFile.toURI().toURL())); }