@Test public void shouldReturnAnEmptyArrayIfTheArrayIsEmpty() {

  String pattern = "p.d";
  String[] words = { };
  String[] result = dotRegularExpression.evaluate(words, pattern);
  assertEquals(0, result.length);
}