@Test
public void testCheckTargetShouldReturnFalseWhenRegExpDoesNotMatch() {

    //GIVEN
    String regExp = "asdf[a-z]";
    given(patternFactory.createPattern(regExp)).willReturn(Pattern.compile(regExp));
    //WHEN
    boolean actual = underTest.checkTarget(regExp, EX_TARGET);
    //THEN
    assertFalse(actual);
}