### Question:
AlosPRIMetadata extends XmlMetadata { public ImageMetadata.InsertionPoint getProductOrigin() { for (ImageMetadata metadata : componentMetadata) { ImageMetadata.InsertionPoint currentOrigigin = metadata.getInsertPoint(); if (upperLeftPointOrigin == null) { upperLeftPointOrigin = currentOrigigin; } else { if (upperLeftPointOrigin.x > currentOrigigin.x) { upperLeftPointOrigin.x = currentOrigigin.x; } if (upperLeftPointOrigin.y < currentOrigigin.y) { upperLeftPointOrigin.y = currentOrigigin.y; } } } return upperLeftPointOrigin; } 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 testGetProductOrigin() throws Exception { assertEquals(2.5, metadata.getProductOrigin().stepX, 0.0); assertEquals(2.5, metadata.getProductOrigin().stepY, 0.0); assertEquals(468615, metadata.getProductOrigin().x, 0.0); assertEquals(9051595, metadata.getProductOrigin().y, 0.0); }