assertTrue(rule.getPermissions().isEmpty());
assertTrue(rule.getPermissionNames().isEmpty());
    public void testAsDialingRulesListNoExceptions() {        EmergencyRouting routing = new EmergencyRouting();        routing.setDefaultGateway(m_defaultGateway);        routing.setExternalNumber(DEFAULT_EXTENSION);        List rules = routing.asDialingRulesList();        assertEquals(1, rules.size());        IDialingRule rule = (IDialingRule) rules.get(0);        List gateways = rule.getGateways();        assertEquals(1, gateways.size());        assertEquals(m_defaultGateway.getAddress(), ((Gateway) gateways.get(0)).getAddress());        assertTrue(rule.getPermissions().isEmpty());        assertEquals(1, rule.getPatterns().length);        assertEquals(DEFAULT_EXTENSION, rule.getPatterns()[0]);    }