BuildInformation { public static String getBuildYear() { return buildProperties.get("project.buildYear").toString(); }  static String getVersion(); static String getInceptionYear(); static String getBuildYear();  }
@Test public void testBuildYear() { String year = BuildInformation.getBuildYear(); assertNotNull(year); String currentYear = new SimpleDateFormat("yyyy").format(new Date()); assertEquals(currentYear, year); }