@Test
public void testCheckTargetShouldReturnTrueWhenRegExpMatches() {

    //GIVEN
    given(patternFactory.createPattern(EX_REG_EXP)).willReturn(Pattern.compile(EX_REG_EXP));
    //WHEN
    boolean actual = underTest.checkTarget(EX_REG_EXP, EX_TARGET);
    //THEN
    assertTrue(actual);
}