protected static void assertResponseMessage(final ResponseMessage resource, final ResponseMessage fromStatic,
                                                final ResponseMessage recycled) {
        assertEquals(resource.getStatus().getCode().code(), recycled.getStatus().getCode().code());
        assertEquals(resource.getStatus().getMessage(), recycled.getStatus().getMessage());
        assertEquals(resource.getStatus().getException(), recycled.getStatus().getException());
        assertEquals(resource.getResult().getData(), recycled.getResult().getData());

        assertEquals(resource.getStatus().getCode().code(), fromStatic.getStatus().getCode().code());
        assertEquals(resource.getStatus().getMessage(), fromStatic.getStatus().getMessage());
        assertEquals(resource.getStatus().getException(), fromStatic.getStatus().getException());
        assertEquals(resource.getResult().getData(), fromStatic.getResult().getData());
    }
@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-util/src/test/java/org/apache/tinkerpop/gremlin/structure/io/AbstractCompatibilityTest.java