@Test
public void testString() {

  assertEquals(3, Patterns.string("abc").match("abcd", 0, 4));
  assertEquals(0, Patterns.string("").match("abcd", 0, 4));
  assertEquals(MISMATCH, Patterns.string("abc").match("ABC", 0, 3));
  assertEquals(MISMATCH, Patterns.string("abc").match("abc", 0, 0));
}