    @Test
    public void testHashCodeDifferentRegex() {

        final ArchiveIdentifierPattern ai1 = new ArchiveIdentifierPattern(ArchiveType.JAVA,
                PatternType.PATTERN_ON_FILENAME, "abc");
        final ArchiveIdentifierPattern ai2 = new ArchiveIdentifierPattern(ArchiveType.JAVA,
                PatternType.PATTERN_ON_FILENAME, "def");
        Assert.assertNotEquals("hashCode()", ai1.hashCode(), ai2.hashCode());
    }