### Question:
HttpDateGetter extends TechniqueDateGetter<MetaDate> { @Override public List<MetaDate> getDates(HttpResult httpResult) { List<MetaDate> result = new ArrayList<MetaDate>(); Map<String, List<String>> headers = httpResult.getHeaders(); for (String keyword : KeyWords.HTTP_KEYWORDS) { result.addAll(checkHttpTags(keyword, headers)); } return result; }  @Override List<MetaDate> getDates(HttpResult httpResult); @Override List<MetaDate> getDates(Document document);  }### Answer:
@Test public void testGetHttpHeaderDate() throws FileNotFoundException { HttpResult httpResult = HttpHelper.loadSerializedHttpResult(ResourceHelper .getResourceFile("/httpResults/testPage01.httpResult")); HttpDateGetter httpDateGetter = new HttpDateGetter(); List<MetaDate> dates = httpDateGetter.getDates(httpResult); assertEquals("2012-07-22 14:35:38", dates.get(0).getNormalizedDateString()); assertEquals("2012-07-22 13:59:10", dates.get(1).getNormalizedDateString()); }