### Question:
Media { public static byte[] getMediaDataFromFile(String fileName) throws IOException { return getMediaDataFromFile(new File(fileName)); } 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 testGetMediaDataFromFile_fileArg() throws IOException { assertArrayEquals(TEST_DATA, Media.getMediaDataFromFile(inputFile)); }
@Test public void testGetMediaDataFromFile_stringArg() throws IOException { assertArrayEquals(TEST_DATA, Media.getMediaDataFromFile(inputFile.getPath())); }