@Test
public void testFailure() throws MetExtractionException {

  when(configuration.containsKey("FullDateTimeKey")).thenReturn(false);
  extractor.configure(configuration);
  expectedException.expect(MetExtractionException.class);
  extractor.doExtract(null, metadata);
}