@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);
}