@Override
    public boolean equals(Object other) {
        return super.equals(other);
    }
@Test
    public void equalsTest(){
        RollbackRule rollbackRuleByClass = new NoRollbackRule(Exception.class);
        RollbackRule otherRollbackRuleByClass = new NoRollbackRule(Exception.class);
        Assertions.assertEquals(rollbackRuleByClass, otherRollbackRuleByClass);
        RollbackRule rollbackRuleByName = new NoRollbackRule(Exception.class.getName());
        RollbackRule otherRollbackRuleByName = new NoRollbackRule(Exception.class.getName());
        Assertions.assertEquals(rollbackRuleByName, otherRollbackRuleByName);
        NoRollbackRule otherRollbackRuleByName3 = new NoRollbackRule(Exception.class.getName());
        Assertions.assertEquals(otherRollbackRuleByName3.toString(),"NoRollbackRule with pattern [" + Exception.class.getName() + "]");


    }