List permissions = generationRule.getPermissions(); assertSame(Permission.TOLL_FREE_DIALING, permissions.get(0));
List<String> permissions = generationRule.getPermissionNames(); assertSame(Permission.TOLL_FREE_DIALING.getName(), permissions.get(0));
    public void testTollFreeDialing() {        m_rule.setPermission(Permission.TOLL_FREE_DIALING);        DialingRule generationRule = getGenerationRule(m_rule);        List permissions = generationRule.getPermissions();        assertSame(Permission.TOLL_FREE_DIALING, permissions.get(0));    }