@Test
    public void shouldGetBoolean() {
        final Result result = new Result(true);

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