assertEquals(TorConfig.AutoBoolValue.AUTO, config.getUseNTorHandshake());
}
@Test
public void testBridges() {
final IPv4Address a1 = IPv4Address.createFromString("1.2.3.4");
final IPv4Address a2 = IPv4Address.createFromString("4.4.4.4");
final HexDigest fp = HexDigest.createFromString("0EA20CAA3CE696E561BC08B15E00106700E8F682");
config.addBridge(a1, 88);
config.addBridge(a2, 101, fp);
List<TorConfigBridgeLine> bs = config.getBridges();
assertEquals(2, bs.size());