@Test
public void withPattern() {

	MatchRule matchRule = MatchRule.withPattern("abc");
	assertNotNull(matchRule);
	assertEquals("abc", matchRule.getPattern());
	assertEquals("MatchRule{pattern=abc}", matchRule.toString());
}