@Test
public void validate_shouldThrowExeception_whenRegexStringIsEmpty() throws Exception {

  str = "abc";
  boolean threwException = false;
  try {
    regexMatcher.validate(str, "");
  } catch (IllegalArgumentException expectedException) {
    threwException = true;
  }
  assertEquals(true, threwException);
}