@Test
    public void shouldHandleNullResult() throws Exception {
        final ResultSet results = client.submit("g.inject(null)");
        assertNull(results.all().get().get(0).getObject());
    }
@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-server/src/test/java/org/apache/tinkerpop/gremlin/server/GremlinResultSetIntegrateTest.java