@Test(expected = DeserializationException.class)
public void testNoMatches() {

  List<ReFieldConfig> fields = new ArrayList<>();
  fields.add(new ReFieldConfig("foo", ReFieldType.STRING));
  Pattern p = Pattern.compile("(test i am)");
  RegexDeserializer deser = new RegexDeserializer(p, fields);
  DeserializedEvent event = deser.deserialize("i am a test");
}