@Test
    public void shouldGetInt() {
        final Result result = new Result(100);

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