### Question:
AlosPRIMetadata extends XmlMetadata { @Override public String[] getRasterFileNames() { return new String[0]; } AlosPRIMetadata(String name); @Override int getNumBands(); @Override String getProductName(); @Override String getFormatName(); @Override int getRasterWidth(); @Override int getRasterHeight(); @Override String[] getRasterFileNames(); @Override ProductData.UTC getProductStartTime(); @Override ProductData.UTC getProductEndTime(); @Override ProductData.UTC getCenterTime(); @Override String getProductDescription(); @Override String getFileName(); @Override String getMetadataProfile(); boolean hasInsertPoint(); float getMaxInsertPointX(); float getMaxInsertPointY(); float getMinInsertPointX(); float getMinInsertPointY(); float getStepSizeX(); float getStepSizeY(); Map<String, Float[]> bandOffset(); String getCrsCode(); ImageMetadata.InsertionPoint getProductOrigin(); Map<String, Float> getMaxPoint(); float[][] getMaxCorners(); List<ImageMetadata> getImageMetadataList(); void setComponentMetadata(List<ImageMetadata> componentMetadata); @Deprecated void addComponentMetadata(File metadata); boolean isMultiSize();  }### Answer:
@Test public void testGetRasterFileNames() throws Exception { ArrayList<String> fileNames = new ArrayList<>(); for (ImageMetadata imageMetadata : metadata.getImageMetadataList()) { for (String file : imageMetadata.getRasterFileNames()) { fileNames.add(file); } } assertNotNull(fileNames); assertEquals(fileNames.size(), 3); assertEquals("AL01_PRI_M1B_1C_20061017T212809_20061017T212815_ESR_003892_2B3E.GTIF", fileNames.get(0).toUpperCase()); assertEquals("AL01_PRI_M1F_1C_20061017T212639_20061017T212645_ESR_003892_2B3E.GTIF", fileNames.get(1).toUpperCase()); assertEquals("AL01_PRI_M1N_1C_20061017T212724_20061017T212730_ESR_003892_2B3E.GTIF", fileNames.get(2).toUpperCase()); }