Sentinel3Utils { public static String formatInteger(Object value){ logger.debug("----------Input value : "+value); return String.format("%04d",value); } private  Sentinel3Utils(); static String points2GML(String pointsString); static String points2JTS(String pointsString); static String formatNumber(double value); static String formatInteger(Object value); static String getTheoreticalIspCount(String ispContDup, String ispCountCorrupt, 
		   String ispCountUnsynch,  String ispCountFormatErr); static boolean isFullResolution(Object source);  }
@Test public void testFormatInteger() throws Exception { int value = 10; String expected = "0010"; String formattedNumber = Sentinel3Utils.formatInteger(value); Assert.assertEquals(expected, formattedNumber); }