@Test
public void matches() {

	MatchRule matchRule = MatchRule.withPattern("abc");
	assertMatches(matchRule, "123 abc def");
	assertMatches(matchRule, "abc");
	assertMatches(matchRule, "ABC");
	assertMatches(matchRule, "ABc");
	assertMatches(matchRule, "1234abcfsdf");
	assertNoMatches(matchRule, "absdfc");
}