public void testApp(){
    	
    	System.out.println("Starting menuXML test\n");
    	
    	IMenuFactory factoria = new XMLMenuFactory();
    	try {
    		
    		String path = null;
			String nombre = "menu1";
			String fileName = nombre + "_menu.xml";
			String full_classPath = System.getProperty("java.class.path");
			String[] separate_classPath = full_classPath.split(":");
			String classPath = separate_classPath[0];
			path = classPath + File.separatorChar+ fileName;
    		
			IMenu menu1 = factoria.getMenu(path);
			try {
				assertTrue(checkMenuFuncionality(menu1));
			} catch (AssertionFailedError f) {
				System.out.println("An error occurred during test menuXML");
				fail();
			}
			if(checkMenuFuncionality(menu1)){				
				printMenu(menu1);
			}
		} catch (MenuException e) {
			e.printStackTrace();
		}
    	
    	System.out.println("Test menuXML finished");
    }