fileManager.saveFile("/", "b.txt", "Some content");
request.setParameter("path", "/");
request.setParameter("type", FileMetaData.BLOG_FILE);
View view = action.process(request, response);
// check file information available and the right view is returned
assertEquals(FileMetaData.BLOG_FILE, action.getModel().get("type"));
FileMetaData fileMetaData = (FileMetaData)action.getModel().get("directory");
assertEquals("/", fileMetaData.getAbsolutePath());