@Test
    public void shouldReadWriteMaxShort() throws Exception {
        final String resourceName = "max-short";

        final Short resource = findModelEntryObject(resourceName);
        final Short fromStatic = read(readFromResource(resourceName), Short.class);
        final Short recycled = read(write(fromStatic, Short.class, resourceName), Short.class);
        assertEquals(fromStatic, recycled);
        assertEquals(resource, fromStatic);
        assertEquals(resource, recycled);
    }
@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-util/src/test/java/org/apache/tinkerpop/gremlin/structure/io/AbstractTypedCompatibilityTest.java