@Test
public void testHashCode(TestContext context) {

    PatternHolder pH = new PatternHolder(Pattern.compile("(mouse|cat|dog|wolf|bear|human)"));
    String patternStr = "(mouse|cat|dog|wolf|bear|human)";
    context.assertEquals(patternStr.hashCode(), pH.hashCode());
}