def test_not_matches_regex(self):
        cond = NotMatchesRegexCondition('unused', r'c+d')
        assert cond.compare('ccccccd') is False
        assert cond.compare('abcdddd') is True