### Question:
IkonosMetadata extends XmlMetadata { public String getProductType() { String productType = null; try { productType = getAttributeValue(IkonosConstants.PATH_PRODUCT_TYPE, IkonosConstants.IKONOS_PRODUCT); } catch (Exception e) { warn(MISSING_ELEMENT_WARNING, IkonosConstants.PATH_PRODUCT_TYPE); } return productType; } IkonosMetadata(final String name); static IkonosMetadata create(FilePathInputStream filePathInputStream); String getProductType(); @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(); IkonosComponent getMetadataComponent(); void unGZipImageFiles(Path path, String imageDirectoryPath); static BandMetadata parseIMGMetadataFile(VirtualDirEx productDirectory, String metadataRelativeFilePath); static Map<String, Double> parseMetadataFile(VirtualDirEx productDirectory, String fileEntryName);  }### Answer:
@Test public void testGetProductType() throws Exception { assertEquals("OSA_GEO_1P", metadata.getProductType()); }