### Question:
AveragingTool extends Tool { static String validTemporalResolutions() { final String[] strings = new String[4]; int i = 0; for (TemporalResolution resolution : TemporalResolution.values()) { if (!TemporalResolution.weekly5d.equals(resolution) && !TemporalResolution.weekly7d.equals(resolution)) { strings[i++] = resolution.name(); } } return Arrays.toString(strings); }  static void main(String[] arguments);  }### Answer:
@Test public void testValidTemporalResolutions() throws Exception { assertEquals("[daily, monthly, seasonal, annual]", AveragingTool.validTemporalResolutions()); }