@Override
    public String toString() {
        return "RollbackRule with pattern [" + this.exceptionName + "]";
    }
@Test
    public void toStringTest(){
        RollbackRule otherRollbackRuleByName = new RollbackRule(Exception.class.getName());
        Assertions.assertEquals(otherRollbackRuleByName.toString(), String.format("RollbackRule with pattern [%s]", Exception.class.getName()));
    }