assertNotNull(new DateExtractor());
}
@Test
public void testDefaultFormatters() throws Exception {
DateExtractor dayExtractor = new DateExtractor();
// test that GMT conversion moves the day
input.set(0, "20/Sep/2008:23:53:04 -0600");
assertEquals("2008-09-21", dayExtractor.exec(input));
// test that if the string is already in GMT, nothing moves
input.set(0, "20/Sep/2008:23:53:04 -0000");
assertEquals("2008-09-20", dayExtractor.exec(input));
}