@Test
public void invokeWithoutFlagsNotMatch() {

    FunctionTestUtil.assertResult(matchesFunction.invoke("test", "testt"), false);
    FunctionTestUtil.assertResult(matchesFunction.invoke("foobar", "^fo*bb"), false);
    FunctionTestUtil.assertResult(matchesFunction.invoke("fo\nbar", "fo.bar"), false);
}