@Test public void testS2MSI() { Product product = new Product("dummy", "S2_MSI_Level-1C", 2, 2); assertEquals(Instrument.S2_MSI, DetectInstrument.getInstrument(product)); }
private static boolean s2msi(Product product) { return product.getProductType().equals("S2_MSI_Level-1C"); }
DetectInstrument { private static boolean s2msi(Product product) { return product.getProductType().equals("S2_MSI_Level-1C"); } }
DetectInstrument { private static boolean s2msi(Product product) { return product.getProductType().equals("S2_MSI_Level-1C"); }  }
DetectInstrument { private static boolean s2msi(Product product) { return product.getProductType().equals("S2_MSI_Level-1C"); }   }
DetectInstrument { private static boolean s2msi(Product product) { return product.getProductType().equals("S2_MSI_Level-1C"); }    }