authRules.begin();
    public void testGetFileContent() throws Exception {        IMocksControl planCtrl = EasyMock.createStrictControl();        DialPlanContext dialPlanContext = planCtrl.createMock(DialPlanContext.class);        DialingRuleProvider dialingRuleProvider = planCtrl.createMock(DialingRuleProvider.class);        dialingRuleProvider.getDialingRules();        planCtrl.andReturn(Collections.EMPTY_LIST);        dialPlanContext.getGenerationRules();        planCtrl.andReturn(Collections.EMPTY_LIST);        dialPlanContext.getAttendantRules();        planCtrl.andReturn(Collections.EMPTY_LIST);        planCtrl.replay();                EmergencyRouting er = new EmergencyRouting();        ConfigGenerator generator = new ConfigGenerator();        generator.setDialingRuleProvider(dialingRuleProvider);        generator.generate(dialPlanContext, er);        AuthRules authRules = new AuthRules();        authRules.begin();        checkConfigFileGeneration(generator, authRules, ConfigFileType.AUTH_RULES);        MappingRules mappingRules = new MappingRules();        mappingRules.begin();        checkConfigFileGeneration(generator, mappingRules, ConfigFileType.MAPPING_RULES);        FallbackRules fallbackRules = new FallbackRules();        fallbackRules.begin();        checkConfigFileGeneration(generator, fallbackRules, ConfigFileType.FALLBACK_RULES);        planCtrl.verify();    }