void (final ElementPattern filterFactory) { assertFalse(filterFactory.accepts("")); assertFalse(filterFactory.accepts("xxx")); assertTrue(filterFactory.accepts("abcd")); assertFalse(filterFactory.accepts("dabcd")); assertTrue(filterFactory.accepts("abc")); assertTrue(filterFactory.accepts("abcdabc")); assertTrue(filterFactory.accepts("abcdab")); }