EnvironmentPeerImpl implements EnvironmentPeer { @Override public Integer getVlan() { return vlan; } 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 testGetVlan() throws Exception { assertEquals( VLAN, environmentPeer.getVlan() ); }