@Test
public void testGetP2pIps() throws Exception
{

    environment.addEnvironmentPeer( environmentPeer );
    doReturn( Sets.newHashSet( new RhP2PIpEntity( "ID", "10.10.10.1" ) ) ).when( environmentPeer ).getRhP2pIps();
    assertFalse( environment.getP2pIps().isEmpty() );
}