@Test
public void shouldRequirePatternInConfiguration() {

  try {
    RegexExtractorInterceptorMillisSerializer fixture =
        new RegexExtractorInterceptorMillisSerializer();
    fixture.configure(new Context());
    Assert.fail();
  } catch (IllegalArgumentException ex) {
    // Expected...
  }
}