### Question:
TorConfig { public File getLibraryPath() { return libraryPath; }  static TorConfig createDefault(File configDir); static TorConfig createFlatConfig(File configDir); static TorConfig createConfig(File installDir, File configDir, File dataDir); File getInstallDir(); File getHiddenServiceDir(); File getConfigDir(); File getHomeDir(); File getHostnameFile(); File getLibraryPath(); File getDataDir(); File getGeoIpFile(); File getGeoIpv6File(); File getTorrcFile(); File getResolveConf(); File getControlPortFile(); File resolveTorrcFile(); File getTorExecutableFile(); File getCookieAuthFile(); int getFileCreationTimeout(); @Override String toString(); final static String GEO_IP_NAME; final static String GEO_IPV_6_NAME; final static String TORRC_NAME; }### Answer:
@Test public void libraryPathRelativeToExecutable() { TorConfig config = new TorConfig.Builder(sampleFile, sampleFile).torExecutable(new File(sampleFile, "exedir/tor.real")).build(); assertEquals(new File(sampleFile, "exedir").getPath(), config.getLibraryPath().getPath()); }