@Test
    public void shouldGetString() {
        final Result result = new Result("string");

        assertEquals("string", result.getString());
        assertEquals("string", result.get(String.class));
    }
@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-driver/src/test/java/org/apache/tinkerpop/gremlin/driver/ResultTest.java