public RemoteConnection getConnection() {
        return connection;
    }
Creates a new {@link RemoteGraph} instance. {@link RemoteGraph} will attempt to call the
{@link RemoteConnection#close()} method when the {@link #close()} method is called on this class.

@param connection the {@link RemoteConnection} instance to use
                  {@link RemoteConnection}
gremlin-test/src/main/java/org/apache/tinkerpop/gremlin/structure/RemoteGraph.java