@Test
public void should_match_any_possible_pattern() {

    String[] states = new String[] {"I have (\\d+) cukes in my belly", "The following animals: (.*)"};
    assertThat(ArrayMatcher.matches(states, "I have 36 cukes in my belly")).isTrue();
}