EnvironmentPeerImpl implements EnvironmentPeer { @Override public String getPeerId() { return peerId; } EnvironmentPeerImpl( final String peerId, final Integer vlan );  EnvironmentPeerImpl(); void addRhP2pIps( Set<RhP2pIp> rhP2pIps ); @Override Set<RhP2pIp> getRhP2pIps(); Long getId(); @Override Integer getVlan(); @Override Environment getEnvironment(); void setEnvironment( final Environment environment ); @Override String getPeerId(); @Override String toString(); @Override boolean equals( final Object o ); @Override int hashCode();  }
@Test public void testGetPeerId() throws Exception { assertEquals( PEER_ID, environmentPeer.getPeerId() ); }