public static Node createNodeWithPort(final int port){
  return new Node(new WeakNodeIdentity(String.format("%d",port)),new NodeEndpoint("http","127.0.0.1",port));
}

public static Node createNodeWithPort ( final int port ) { return new Node ( new WeakNodeIdentity ( String . format ( "%d" , port ) ) , new NodeEndpoint ( "http" , "127.0.0.1" , port ) ) ; }
creates a node with the specified port . note : this is around for legacy tests that are using port as a hallmark .
