@Test
@SuppressWarnings("unchecked")
public void testContextInitializedServletContextEvent() throws Throwable {

    MifosViewerServletContextListener listener = new MifosViewerServletContextListener();
    File dir = listener.copyBIRTResourcesFromClassPathToFilesystemDirectory(null);
    Collection<File> files = FileUtils.listFiles(dir, null, true);
    assertTrue(files.size() > 5);
}