@Test
public void testAddResourceHost() throws Exception
{

    localPeer.resourceHosts.clear();
    localPeer.addResourceHost( resourceHost );
    assertTrue( localPeer.getResourceHosts().contains( resourceHost ) );
}