WebSitesConfig { public List<WebSite> getListeWebSites(){ if(listWebSites == null){ listWebSites = retieveWebSiteFromConfigFile(); } return listWebSites; } private  WebSitesConfig(); static WebSitesConfig getInstance(); List<WebSite> getListeWebSites(); void setListWebSites(List<WebSite> listWebSites); void saveListWebSites();  }
@Test public void testRetieveFromConfigFile() { System.out.println("retieveFromConfigFile"); List<WebSite> result = instance.getListeWebSites(); assertNotNull(result); }