void () { final ElementPattern pattern = string().contains("abc"); assertFalse(pattern.accepts("")); assertFalse(pattern.accepts("acb")); assertFalse(pattern.accepts("ABC")); assertTrue(pattern.accepts("01abcd")); }