### Question:
ProductInfo { public static void main(String[] args) { ProductInfo info = ProductInfoHolder.productInfo; System.out.printf("s2jdbc-gen name : %s\n", info.getName()); System.out.printf("s2jdbc-gen version : %s\n", info.getVersion()); System.out.printf("s2jdbc-gen groupId : %s\n", info.getGroupId()); System.out.printf("s2jdbc-gen artifactId : %s\n", info.getArtifactId()); } protected  ProductInfo(String version, String groupId, String artifactId); String getName(); String getVersion(); String getGroupId(); String getArtifactId(); static ProductInfo getInstance(); static void main(String[] args);  }### Answer:
@Test public void testMain() throws Exception { ProductInfo.main(new String[] {}); }