@Test
    public void WhenLoadingFromExistingFile_ExpectResultedRoutingTable() {
        RoutingTable routingTable = new RoutingTable();

        try {
            persistenceDelegate_.load(VALID_FILE, routingTable);
        } catch (FileNotFoundException e) {
        } catch (PersistencyException e) {
        }

        Host localpeer = routingTable.getLocalhost();

        Assert.assertTrue(localpeer_.compareTo(localpeer) == 0);
        Assert.assertTrue(hostList_.size() == routingTable.levelNumber());

        for (int levelIndex = 0; levelIndex < hostList_.size(); levelIndex++) {
            Collection<Host> actual = routingTable.getLevel(levelIndex);
            Collection<Host> expected = hostList_.get(levelIndex);
            Assert.assertTrue(expected.size() == actual.size());
            for (Host actualHost : actual) {
                Assert.assertTrue(expected.contains(actualHost));
            }
        }
    }