### Question:
WorldView2ESAMetadata extends XmlMetadata { @Override public String getFormatName() { return WorldView2ESAConstants.PRODUCT_GENERIC_NAME; } WorldView2ESAMetadata(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();  }### Answer:
@Test public void testGetFormatName() throws Exception { assertEquals(WorldView2ESAConstants.PRODUCT_GENERIC_NAME, metadata.getFormatName()); }