@Test public void init() { when(servletContext.getInitParameter("documentr.dataDir")).thenReturn("dataDir"); settings.init(); assertEquals(new File("dataDir"), settings.getDocumentrDataDir()); }
@PostConstruct public void init() { String dataDirParam = getInitParam("documentr.dataDir"); Assert.hasLength(dataDirParam); documentrDataDir = new File(dataDirParam); }
Settings { @PostConstruct public void init() { String dataDirParam = getInitParam("documentr.dataDir"); Assert.hasLength(dataDirParam); documentrDataDir = new File(dataDirParam); } }
Settings { @PostConstruct public void init() { String dataDirParam = getInitParam("documentr.dataDir"); Assert.hasLength(dataDirParam); documentrDataDir = new File(dataDirParam); }  }
Settings { @PostConstruct public void init() { String dataDirParam = getInitParam("documentr.dataDir"); Assert.hasLength(dataDirParam); documentrDataDir = new File(dataDirParam); }  @PostConstruct void init(); }
Settings { @PostConstruct public void init() { String dataDirParam = getInitParam("documentr.dataDir"); Assert.hasLength(dataDirParam); documentrDataDir = new File(dataDirParam); }  @PostConstruct void init();  }