    @Test
    public void testGetHandledExceptionList() throws Exception {


        String result;
        String expected;

        /*
         * Test 1 - Encuentra excepciones instanciadas en el archivo de
         * configuración EXC_WEB_XML
         */
        expect(
                pathResolver.getIdentifier(
                        LogicalPath.getInstance(Path.SRC_MAIN_WEBAPP, ""),
                        WEB_XML_PATH)).andReturn(EXC_WEB_XML);

        expect(fileManager.exists(EXC_WEB_XML)).andReturn(true);

        expect(fileManager.updateFile(EXC_WEB_XML))
                .andReturn(webXmlMutableFile);

        expect(webXmlMutableFile.getInputStream()).andReturn(
                getClass().getResourceAsStream(EXC_WEB_XML));

        replay(pathResolver, fileManager, webXmlMutableFile);

        result = webExceptionHandlerOperationsImpl.getHandledExceptionList();

        assertTrue("Test 1 \nThere aren't exceptions defined in " + EXC_WEB_XML
                + " file", result != null);

        logger.log(Level.INFO, "Test 1 \nExceptions defined in " + EXC_WEB_XML
                + " :\n" + result);

        reset(pathResolver, fileManager, webXmlMutableFile);

        /*
         * Test 2 - No encuentra excepciones instanciadas en el archivo de
         * configuración NO_EXC_WEB_XML
         */
        expect(
                pathResolver.getIdentifier(
                        LogicalPath.getInstance(Path.SRC_MAIN_WEBAPP, ""),
                        WEB_XML_PATH)).andReturn(NO_EXC_WEB_XML);

        expect(fileManager.exists(NO_EXC_WEB_XML)).andReturn(true);

        expect(fileManager.updateFile(NO_EXC_WEB_XML)).andReturn(
                webXmlMutableFile);

        expect(webXmlMutableFile.getInputStream()).andReturn(
                getClass().getResourceAsStream(NO_EXC_WEB_XML));

        replay(pathResolver, fileManager, webXmlMutableFile);

        result = webExceptionHandlerOperationsImpl.getHandledExceptionList();

        expected = "Handled Exceptions:\n";

        assertEquals("Test 2 \nThere are exceptions defined in "
                + NO_EXC_WEB_XML + " file", expected, result);

        logger.log(Level.INFO, "Test 2 \nThere aren't exceptions defined in "
                + NO_EXC_WEB_XML);

        reset(pathResolver, fileManager, webXmlMutableFile);

    }