"Jul", "July", "Aug", "August", "Sep", "September", "Oct", "October", "Nov",
"November", "Dec", "December"};
List<String> months = new ArrayList<String>(Arrays.asList(array));
int i = 0;
for (String month : months) {
Match m = grok.match(month);
m.captures();
assertNotNull(m.toMap());
assertEquals(m.toMap().get("MONTH"), months.get(i));
i++;
}